summaryrefslogtreecommitdiff
path: root/console-client/xkb/kstoucs.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-client/xkb/kstoucs.c')
-rw-r--r--console-client/xkb/kstoucs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/console-client/xkb/kstoucs.c b/console-client/xkb/kstoucs.c
index e93cc858..0211e9e3 100644
--- a/console-client/xkb/kstoucs.c
+++ b/console-client/xkb/kstoucs.c
@@ -37,6 +37,7 @@ unsigned int doit (int keysym)
return find_ucs (keysym, middle+1, last);
else if (middle->keysym > keysym)
return find_ucs (keysym, first, middle-1);
+ return 0;
}
#define NUM_KEYSYMS (sizeof kstoucs_map / sizeof(struct ksmap))