summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 6a25fc54..ba8d71ef 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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;
}