diff options
author | runge <runge> | 2006-12-28 20:00:08 +0000 |
---|---|---|
committer | runge <runge> | 2006-12-28 20:00:08 +0000 |
commit | 5c9ba4bb035255956dd176b285df3a81bafa02e3 (patch) | |
tree | 29bfb0544fca31db024619a612d09b3a5e0132c2 /x11vnc/nox11_funcs.h | |
parent | f9baaf1ee49e7889808b1f058a5f348a9cd5f027 (diff) | |
download | libtdevnc-5c9ba4bb035255956dd176b285df3a81bafa02e3.tar.gz libtdevnc-5c9ba4bb035255956dd176b285df3a81bafa02e3.zip |
still more compiler warnings; ssvnc 1.0.9 sync.
Diffstat (limited to 'x11vnc/nox11_funcs.h')
-rw-r--r-- | x11vnc/nox11_funcs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/x11vnc/nox11_funcs.h b/x11vnc/nox11_funcs.h index e127309..6e3ac57 100644 --- a/x11vnc/nox11_funcs.h +++ b/x11vnc/nox11_funcs.h @@ -2807,10 +2807,12 @@ char *XKeysymToString(KeySym k) { } KeySym XKeycodeToKeysym(Display *display, KeyCode keycode, int index) { + if (!display || !keycode || !index) {} return NoSymbol; } KeyCode XKeysymToKeycode(Display *display, KeySym keysym) { + if (!display || !keysym) {} return NoSymbol; } |