(ui_cocoa.m) Cleanups

This commit is contained in:
twinaphex 2017-01-16 22:34:36 +01:00
parent 0b1a204949
commit b3642df33f

View File

@ -111,6 +111,7 @@ static void app_terminate(void)
static uint32_t old_flags = 0;
uint32_t new_flags = event.modifierFlags;
bool down = (new_flags & old_flags) == old_flags;
old_flags = new_flags;
apple_input_keyboard_event(down, event.keyCode,