diff options
author | runge <runge> | 2007-10-27 22:45:30 +0000 |
---|---|---|
committer | runge <runge> | 2007-10-27 22:45:30 +0000 |
commit | 81ef0b9345dd393fea8edab879ee1fd8f0bf9e81 (patch) | |
tree | 6866c2f68f25a00cbfb4f636282fd9cf52bf4a37 /x11vnc/keyboard.c | |
parent | be9dc49025c3588e6b01051263ca410769174ea4 (diff) | |
download | libtdevnc-81ef0b9345dd393fea8edab879ee1fd8f0bf9e81.tar.gz libtdevnc-81ef0b9345dd393fea8edab879ee1fd8f0bf9e81.zip |
x11vnc: -proxy, -ssh options. ncache bug in -8to24, Selection "targets" bugfix.
Diffstat (limited to 'x11vnc/keyboard.c')
-rw-r--r-- | x11vnc/keyboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11vnc/keyboard.c b/x11vnc/keyboard.c index 2dc8f83..bbdab3b 100644 --- a/x11vnc/keyboard.c +++ b/x11vnc/keyboard.c @@ -1755,7 +1755,7 @@ static void xkb_tweak_keyboard(rfbBool down, rfbKeySym keysym, if (khints && keysym < 0x100) { /* low keysyms, ascii, only */ int ks = (int) keysym; - int ok = 1, lbest, l; + int ok = 1, lbest = 0, l; short sbest = -1; for (l=0; l < found; l++) { if (kc_f[l] < 0x100) { @@ -1820,7 +1820,7 @@ static void xkb_tweak_keyboard(rfbBool down, rfbKeySym keysym, /* next just check for "best" one that is down */ if (Kc_f == -1 && anydown) { int l; - int best = -1, lbest; + int best = -1, lbest = 0; /* * If it is already down, that is * a great hint. Use it. |