From f0cd7abcff5976a94aafdd7f47313b0d123ba586 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sun, 21 Sep 2014 00:59:11 +0300 Subject: [PATCH] quick-guide: fix xkb_state_key_get_syms() example Signed-off-by: Ran Benita --- doc/quick-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/quick-guide.md b/doc/quick-guide.md index 92f937c..a8634fd 100644 --- a/doc/quick-guide.md +++ b/doc/quick-guide.md @@ -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: -- 2.7.4