summaryrefslogtreecommitdiffstats
path: root/x11vnc/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/keyboard.c')
-rw-r--r--x11vnc/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/keyboard.c b/x11vnc/keyboard.c
index be9b30c..b4ebdf7 100644
--- a/x11vnc/keyboard.c
+++ b/x11vnc/keyboard.c
@@ -2860,8 +2860,8 @@ void keyboard(rfbBool down, rfbKeySym keysym, rfbClientPtr client) {
keysym = remap->after;
isbutton = remap->isbutton;
if (debug_keyboard) {
- X_LOCK;
char *str1, *str2;
+ X_LOCK;
str1 = XKeysymToString(remap->before);
str2 = XKeysymToString(remap->after);
rfbLog("keyboard(): remapping keysym: "