'cherry-pick' e84bb6f from jumanji

This commit is contained in:
Sebastian Ramacher 2011-06-25 21:17:40 +02:00
parent 89e8ebdc69
commit 8719eaa50c

View File

@ -1581,7 +1581,7 @@ read_configuration_file(const char* rcfile)
if(!strlen(lines[i])) if(!strlen(lines[i]))
continue; continue;
gchar **tokens = g_strsplit(lines[i], " ", -1); gchar **tokens = g_strsplit_set(lines[i], "\t ", -1);
int length = g_strv_length(tokens); int length = g_strv_length(tokens);
if(!strcmp(tokens[0], "set")) if(!strcmp(tokens[0], "set"))