瀏覽代碼

Formatting

Camilla Berglund 9 年之前
父節點
當前提交
7da0ffa5ea
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/x11_window.c

+ 2 - 2
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);