From 8cda60969b6d2df88e0f4fc0fd267dc26adb3872 Mon Sep 17 00:00:00 2001 From: runge Date: Wed, 5 Jul 2006 01:00:56 +0000 Subject: x11vnc: whoops str decl in wrong place for old compilers. --- x11vnc/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'x11vnc/keyboard.c') 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: " -- cgit v1.2.1