formatting + remake pass

This commit is contained in:
NunoSempere 2023-12-29 18:38:54 +01:00
parent c344180055
commit 75848c63a2
2 changed files with 1 additions and 1 deletions

BIN
rose

Binary file not shown.

2
rose.c
View File

@ -412,7 +412,7 @@ int keypress(void* self, GdkEvent* e, GtkNotebook* notebook)
(void)self; (void)self;
for (int i = 0; i < sizeof(keys) / sizeof(keys[0]); i++) for (int i = 0; i < sizeof(keys) / sizeof(keys[0]); i++)
if ((e->key.state == keys[i].mod || keys[i].mod == 0x0) && e->key.keyval == keys[i].key ) if ((e->key.state == keys[i].mod || keys[i].mod == 0x0) && e->key.keyval == keys[i].key)
return handle_key(keys[i].id, notebook); return handle_key(keys[i].id, notebook);
return 0; return 0;