Fix compile failure when X_HAVE_UTF8_STRING is not defined
This commit is contained in:
parent
088524f016
commit
d6797e53b4
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ gunichar obt_keyboard_keypress_to_unichar(ObtIC *ic, XEvent *ev)
|
||||||
#ifndef X_HAVE_UTF8_STRING
|
#ifndef X_HAVE_UTF8_STRING
|
||||||
/* convert to utf8 */
|
/* convert to utf8 */
|
||||||
gchar *buf2 = buf;
|
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);
|
g_free(buf2);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue