diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2008-08-05 22:02:30 +0200 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2008-08-05 22:02:30 +0200 | 
| commit | 1e62c84478c5eccbfbd22cb3c77a6e49cdc3b992 (patch) | |
| tree | 91373bb3b47e48710368bcb52bafc4d7d930dcdb | |
| parent | 5eb50e89d12e9e8f89b29145edaf9bdef7e7d597 (diff) | |
Set list separator before loading the config file
| -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;  } | 
