Commit 8cda6096 authored by runge's avatar runge

x11vnc: whoops str decl in wrong place for old compilers.

parent 06af02b5
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: The following information is taken from these URLs:
......
...@@ -2860,8 +2860,8 @@ void keyboard(rfbBool down, rfbKeySym keysym, rfbClientPtr client) { ...@@ -2860,8 +2860,8 @@ void keyboard(rfbBool down, rfbKeySym keysym, rfbClientPtr client) {
keysym = remap->after; keysym = remap->after;
isbutton = remap->isbutton; isbutton = remap->isbutton;
if (debug_keyboard) { if (debug_keyboard) {
X_LOCK;
char *str1, *str2; char *str1, *str2;
X_LOCK;
str1 = XKeysymToString(remap->before); str1 = XKeysymToString(remap->before);
str2 = XKeysymToString(remap->after); str2 = XKeysymToString(remap->after);
rfbLog("keyboard(): remapping keysym: " rfbLog("keyboard(): remapping keysym: "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment