projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
088524f
)
Fix compile failure when X_HAVE_UTF8_STRING is not defined
author
Peter Åstrand
<astrand@cendio.se>
Tue, 28 Oct 2014 02:37:20 +0000
(
03:37
+0100)
committer
Mikael Magnusson
<mikachu@gmail.com>
Tue, 28 Oct 2014 03:14:24 +0000
(
04:14
+0100)
obt/keyboard.c
patch
|
blob
|
history
diff --git
a/obt/keyboard.c
b/obt/keyboard.c
index
4e84f48
..
60caf0e
100644
(file)
--- a/
obt/keyboard.c
+++ b/
obt/keyboard.c
@@
-329,7
+329,7
@@
gunichar obt_keyboard_keypress_to_unichar(ObtIC *ic, XEvent *ev)
#ifndef X_HAVE_UTF8_STRING
/* convert to utf8 */
gchar *buf2 = buf;
- buf = g_locale_to_utf8(buf2,
r
, NULL, NULL, NULL);
+ buf = g_locale_to_utf8(buf2,
len
, NULL, NULL, NULL);
g_free(buf2);
#endif