From 9cd1e3fac2ee267481325fd184c287dca81d0ed0 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Tue, 7 Nov 2017 20:04:07 +0100 Subject: Indent --- source/dialogs/window.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'source/dialogs/window.c') diff --git a/source/dialogs/window.c b/source/dialogs/window.c index d77369c3..e6691401 100644 --- a/source/dialogs/window.c +++ b/source/dialogs/window.c @@ -86,7 +86,7 @@ static WinModeField matching_window_fields[WIN_MATCH_NUM_FIELDS] = { { .field_name = "desktop", .enabled = TRUE, } }; -static gboolean window_matching_fields_parsed = FALSE; +static gboolean window_matching_fields_parsed = FALSE; // a manageable window typedef struct @@ -403,7 +403,7 @@ static int window_match ( const Mode *sw, rofi_int_matcher **tokens, unsigned in static void window_mode_parse_fields () { - window_matching_fields_parsed = TRUE; + window_matching_fields_parsed = TRUE; char *savept = NULL; // Make a copy, as strtok will modify it. char *switcher_str = g_strdup ( config.window_match_fields ); @@ -589,9 +589,9 @@ static int window_mode_init ( Mode *sw ) pd->window_regex = g_regex_new ( "{[-\\w]+(:-?[0-9]+)?}", 0, 0, NULL ); mode_set_private_data ( sw, (void *) pd ); _window_mode_load_data ( sw, FALSE ); - if ( !window_matching_fields_parsed ) { - window_mode_parse_fields (); - } + if ( !window_matching_fields_parsed ) { + window_mode_parse_fields (); + } } return TRUE; } @@ -602,9 +602,9 @@ static int window_mode_init_cd ( Mode *sw ) pd->window_regex = g_regex_new ( "{[-\\w]+(:-?[0-9]+)?}", 0, 0, NULL ); mode_set_private_data ( sw, (void *) pd ); _window_mode_load_data ( sw, TRUE ); - if ( !window_matching_fields_parsed ) { - window_mode_parse_fields (); - } + if ( !window_matching_fields_parsed ) { + window_mode_parse_fields (); + } } return TRUE; } -- cgit v1.2.3