diff options
Diffstat (limited to 'kdecore/kkeyserver_x11.cpp')
-rw-r--r-- | kdecore/kkeyserver_x11.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kdecore/kkeyserver_x11.cpp b/kdecore/kkeyserver_x11.cpp index bda0feb36..3f3bddc0a 100644 --- a/kdecore/kkeyserver_x11.cpp +++ b/kdecore/kkeyserver_x11.cpp @@ -766,7 +766,8 @@ bool codeXToSym( uchar codeX, uint modX, uint& sym ) event.state = modX; event.keycode = codeX; - XLookupString( &event, 0, 0, &keySym, 0 ); + char buffer[64]; + XLookupString( &event, buffer, 63, &keySym, NULL ); sym = (uint) keySym; return true; } |