diff --git a/src/x11_window.c b/src/x11_window.c index 83fe01f9..eaac057a 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -920,7 +920,7 @@ static void processEvent(XEvent *event) while (c - chars < count) _glfwInputChar(window, decodeUTF8(&c), mods, plain); } -#else +#else /*X_HAVE_UTF8_STRING*/ wchar_t buffer[16]; wchar_t* chars = buffer; @@ -944,7 +944,7 @@ static void processEvent(XEvent *event) for (i = 0; i < count; i++) _glfwInputChar(window, chars[i], mods, plain); } -#endif +#endif /*X_HAVE_UTF8_STRING*/ if (chars != buffer) free(chars);