Formatting

This commit is contained in:
Camilla Berglund 2016-02-18 22:27:44 +01:00
parent bad778c1c4
commit 7da0ffa5ea
1 changed files with 2 additions and 2 deletions

View File

@ -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);