aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNunoSempere <nuno.semperelh@protonmail.com>2024-03-14 14:59:27 -0300
committerNunoSempere <nuno.semperelh@protonmail.com>2024-03-14 14:59:27 -0300
commitd63ccd10cf1aaf28c23314549c449a89e9b42487 (patch)
tree1b14218775ad31d4e21eb261165dcbaae5ffec7b
parent9a27469a52ad20aefd48653b6836c49e65824e24 (diff)
formatting pass
-rw-r--r--rose.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/rose.c b/rose.c
index b2478c4..3205eeb 100644
--- a/rose.c
+++ b/rose.c
@@ -17,7 +17,7 @@ static struct {
enum { _SEARCH,
_FIND,
_HIDDEN } entry_mode;
-} bar;
+} bar;
static int num_tabs = 0;
/* Utils */
@@ -376,13 +376,13 @@ int handle_signal_keypress(void* self, GdkEvent* event, GtkNotebook* notebook)
guint event_keyval = 0;
gdk_event_get_keyval(event, &event_keyval);
- GdkModifierType event_state = 0;
+ GdkModifierType event_state = 0;
gdk_event_get_state(event, &event_state);
int debug_shortcuts = 0;
- if(debug_shortcuts){
+ if (debug_shortcuts) {
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 value: %d\n", event_keyval);