Sfoglia il codice sorgente

Clarified charmods in events test.

Camilla Berglund 11 anni fa
parent
commit
46a56ea742
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      tests/events.c

+ 1 - 1
tests/events.c

@@ -392,7 +392,7 @@ static void char_callback(GLFWwindow* window, unsigned int codepoint)
 static void char_mods_callback(GLFWwindow* window, unsigned int codepoint, int mods)
 static void char_mods_callback(GLFWwindow* window, unsigned int codepoint, int mods)
 {
 {
     Slot* slot = glfwGetWindowUserPointer(window);
     Slot* slot = glfwGetWindowUserPointer(window);
-    printf("%08x to %i at %0.3f: Character 0x%08x (%s) (with%s) input\n",
+    printf("%08x to %i at %0.3f: Character with modifiers 0x%08x (%s) (with%s) input\n",
             counter++, slot->number, glfwGetTime(), codepoint,
             counter++, slot->number, glfwGetTime(), codepoint,
             get_character_string(codepoint),
             get_character_string(codepoint),
             get_mods_name(mods));
             get_mods_name(mods));