diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -70,6 +70,8 @@ static GKeyFile *load_config(const char *file) keyfile = g_key_file_new(); + g_key_file_set_list_separator(keyfile, ','); + if (!g_key_file_load_from_file(keyfile, file, 0, &err)) { error("Parsing %s failed: %s", file, err->message); g_error_free(err); @@ -77,8 +79,6 @@ static GKeyFile *load_config(const char *file) return NULL; } - g_key_file_set_list_separator(keyfile, ','); - return keyfile; } |