From 8cda60969b6d2df88e0f4fc0fd267dc26adb3872 Mon Sep 17 00:00:00 2001 From: runge Date: Wed, 5 Jul 2006 01:00:56 +0000 Subject: [PATCH] x11vnc: whoops str decl in wrong place for old compilers. --- x11vnc/README | 2 +- x11vnc/keyboard.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x11vnc/README b/x11vnc/README index 2ee9df6..7c59b22 100644 --- a/x11vnc/README +++ b/x11vnc/README @@ -1,5 +1,5 @@ -x11vnc README file Date: Tue Jul 4 19:28:31 EDT 2006 +x11vnc README file Date: Tue Jul 4 19:57:31 EDT 2006 The following information is taken from these URLs: 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: "