summaryrefslogtreecommitdiffstats
path: root/source/helper.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-09-08 08:53:14 +0200
committerDave Davenport <qball@gmpclient.org>2016-09-08 08:57:35 +0200
commite3fb17a843602df47ccf417c051e811e2da60ce1 (patch)
tree63868f52441a0808bd9c0b1fed5afe885fe57806 /source/helper.c
parentabc190fd7cf50ca373ab71c675195c6280418bb6 (diff)
Ask window manager to hide decoration in normal-window mode.
Issue #485
Diffstat (limited to 'source/helper.c')
-rw-r--r--source/helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/helper.c b/source/helper.c
index ef402ed5..9e420c91 100644
--- a/source/helper.c
+++ b/source/helper.c
@@ -194,7 +194,7 @@ static GRegex * create_regex ( const char *input, int case_sensitive )
{
#define R( s ) g_regex_new ( s, G_REGEX_OPTIMIZE | ( ( case_sensitive ) ? 0 : G_REGEX_CASELESS ), 0, NULL )
GRegex * retv = NULL;
- gchar *r;
+ gchar *r;
switch ( config.matching_method )
{
case MM_GLOB:
@@ -234,7 +234,7 @@ GRegex **tokenize ( const char *input, int case_sensitive )
}
char *saveptr = NULL, *token;
- GRegex **retv = NULL;
+ GRegex **retv = NULL;
if ( !config.tokenize ) {
retv = g_malloc0 ( sizeof ( GRegex* ) * 2 );
retv[0] = (GRegex *) create_regex ( input, case_sensitive );