diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-03-31 15:27:13 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-03-31 15:27:13 +0200 |
commit | b4c9bad2670c7cbdb2e26b384e18104d568cde99 (patch) | |
tree | a869beea15862329d7bddf4758cb3922a7f0fa93 /source | |
parent | 738d7e2e0c8295b741b2eab3b2b46b8985c06e23 (diff) |
Document '/' as separator and add to combi mode.
Diffstat (limited to 'source')
-rw-r--r-- | source/dialogs/combi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/dialogs/combi.c b/source/dialogs/combi.c index 18d25813..986e153f 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 ) ) { |