all repos — openbox @ d6797e53b429dbadd9a9f145731a5f90145bce83

openbox fork - make it a bit more like ryudo

Fix compile failure when X_HAVE_UTF8_STRING is not defined
Peter Åstrand astrand@cendio.se
commit

d6797e53b429dbadd9a9f145731a5f90145bce83

parent

088524f0169cbc434098f30df6bca992e8a83b01

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M obt/keyboard.cobt/keyboard.c

@@ -329,7 +329,7 @@ if ((guchar)buf[0] >= 32) { /* not an ascii control character */

#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