summaryrefslogtreecommitdiffstats
path: root/source/dialogs/window.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-11-07 20:04:07 +0100
committerDave Davenport <qball@gmpclient.org>2017-11-07 20:04:07 +0100
commit9cd1e3fac2ee267481325fd184c287dca81d0ed0 (patch)
tree5f637b4ac16c359754f6b1a868b3fe73e261dc82 /source/dialogs/window.c
parent4ac428bace65c0856c1b8914c20f551fe8bf3c9d (diff)
Indent
Diffstat (limited to 'source/dialogs/window.c')
-rw-r--r--source/dialogs/window.c16
1 files changed, 8 insertions, 8 deletions
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;
}