summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-03-31 20:57:42 +0200
committerDave Davenport <qball@gmpclient.org>2017-03-31 20:57:42 +0200
commit563dc8dafde2b11379f99777931b34d0e5f8ecdd (patch)
tree7780e9b7041b04ceaeab4cf04d17f950cd328a10 /source
parent2953e3cb1f92eb34bc8f9293be413e34f0d864cd (diff)
Fix alternate separator
Diffstat (limited to 'source')
-rw-r--r--source/dialogs/combi.c2
-rw-r--r--source/rofi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/dialogs/combi.c b/source/dialogs/combi.c
index 986e153f..f1e041c3 100644
--- a/source/dialogs/combi.c
+++ b/source/dialogs/combi.c
@@ -63,7 +63,7 @@ static void combi_mode_parse_switchers ( Mode *sw )
char *savept = NULL;
// Make a copy, as strtok will modify it.
char *switcher_str = g_strdup ( config.combi_modi );
- const char * const sep = ",/";
+ const char * const sep = ",#";
// Split token on ','. This modifies switcher_str.
for ( char *token = strtok_r ( switcher_str, sep, &savept ); token != NULL;
token = strtok_r ( NULL, sep, &savept ) ) {
diff --git a/source/rofi.c b/source/rofi.c
index 0c47b753..e4e3ccbe 100644
--- a/source/rofi.c
+++ b/source/rofi.c
@@ -611,7 +611,7 @@ static int add_mode ( const char * token )
}
static void setup_modi ( void )
{
- const char *const sep = ",/";
+ const char *const sep = ",#";
char *savept = NULL;
// Make a copy, as strtok will modify it.
char *switcher_str = g_strdup ( config.modi );