projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aaf65b
)
state: add missing const in get_one_sym
author
Ran Benita
<ran234@gmail.com>
Thu, 27 Sep 2012 19:11:11 +0000
(21:11 +0200)
committer
Ran Benita
<ran234@gmail.com>
Thu, 27 Sep 2012 19:12:08 +0000
(21:12 +0200)
Signed-off-by: Ran Benita <ran234@gmail.com>
src/state.c
patch
|
blob
|
history
diff --git
a/src/state.c
b/src/state.c
index
f22c7a7
..
458bc61
100644
(file)
--- a/
src/state.c
+++ b/
src/state.c
@@
-771,7
+771,7
@@
err:
XKB_EXPORT xkb_keysym_t
xkb_state_key_get_one_sym(struct xkb_state *state, xkb_keycode_t kc)
{
- xkb_keysym_t *syms;
+
const
xkb_keysym_t *syms;
int num_syms;
num_syms = xkb_state_key_get_syms(state, kc, &syms);