Commit 371adb84 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix bad handling of config files

parent 23e177a1
......@@ -139,7 +139,7 @@ char *linphone_gtk_get_config_file(const char *filename){
if (filename==NULL) filename=CONFIG_FILE;
/*try accessing a local file first if exists*/
if (access(CONFIG_FILE,F_OK)==0){
#ifdef WIN32
const char *appdata=getenv("APPDATA");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment