summaryrefslogtreecommitdiffstats
path: root/x11vnc/keyboard.c
diff options
context:
space:
mode:
authorrunge <runge>2006-07-05 01:00:56 +0000
committerrunge <runge>2006-07-05 01:00:56 +0000
commit8cda60969b6d2df88e0f4fc0fd267dc26adb3872 (patch)
tree7ce5fd0c021ca7c92fa470fe8090121e709b4cde /x11vnc/keyboard.c
parent06af02b5accbe88a7fad28dceae5b85a0f11e4ad (diff)
downloadlibtdevnc-8cda60969b6d2df88e0f4fc0fd267dc26adb3872.tar.gz
libtdevnc-8cda60969b6d2df88e0f4fc0fd267dc26adb3872.zip
x11vnc: whoops str decl in wrong place for old compilers.
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: "