formatting pass

This commit is contained in:
NunoSempere 2024-03-14 14:59:27 -03:00
parent 9a27469a52
commit d63ccd10cf

4
rose.c
View File

@ -380,9 +380,9 @@ int handle_signal_keypress(void* self, GdkEvent* event, GtkNotebook* notebook)
gdk_event_get_state(event, &event_state); gdk_event_get_state(event, &event_state);
int debug_shortcuts = 0; int debug_shortcuts = 0;
if(debug_shortcuts){ if (debug_shortcuts) {
printf("Keypress state: %d\n", event_state); printf("Keypress state: %d\n", event_state);
if(event_state & GDK_CONTROL_MASK){ if (event_state & GDK_CONTROL_MASK) {
printf("Keypress state is: CONTROL\n"); printf("Keypress state is: CONTROL\n");
} }
printf("Keypress value: %d\n", event_keyval); printf("Keypress value: %d\n", event_keyval);