quick-guide: fix xkb_state_key_get_syms() example
authorRan Benita <ran234@gmail.com>
Sat, 20 Sep 2014 21:59:11 +0000 (00:59 +0300)
committerRan Benita <ran234@gmail.com>
Sat, 20 Sep 2014 21:59:11 +0000 (00:59 +0300)
Signed-off-by: Ran Benita <ran234@gmail.com>
doc/quick-guide.md

index 92f937c..a8634fd 100644 (file)
@@ -138,7 +138,7 @@ single event can result in multiple keysyms. Here's how to use it:
     const xkb_keysym_t *keysyms;
     int num_keysyms;
 
-    num_keysyms = xkb_state_key_get_syms(state, keycode);
+    num_keysyms = xkb_state_key_get_syms(state, keycode, &keysyms);
 ~~~
 
 We can also get a UTF-8 string representation for this key: