summaryrefslogtreecommitdiffstats
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
parent06af02b5accbe88a7fad28dceae5b85a0f11e4ad (diff)
downloadlibtdevnc-8cda60969b6d2df88e0f4fc0fd267dc26adb3872.tar.gz
libtdevnc-8cda60969b6d2df88e0f4fc0fd267dc26adb3872.zip
x11vnc: whoops str decl in wrong place for old compilers.
-rw-r--r--x11vnc/README2
-rw-r--r--x11vnc/keyboard.c2
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: "