forgot to remove debugging printf

This commit is contained in:
Kovid Goyal 2017-10-23 16:46:57 +05:30
parent 7e8d509fdd
commit be7d0e2016
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -85,7 +85,6 @@ is_modifier_key(int key) {
static inline int
get_localized_key(int key, int scancode) {
const char *name = glfwGetKeyName(key, scancode);
if (name != NULL) printf("key name: %s\n", name);
if (name == NULL || name[1] != 0) return key;
switch(name[0]) {
#define K(ch, name) case ch: return GLFW_KEY_##name