diff --git a/core/cfg/cfg.cpp b/core/cfg/cfg.cpp index b7a00d3c0..03a524c14 100644 --- a/core/cfg/cfg.cpp +++ b/core/cfg/cfg.cpp @@ -18,7 +18,9 @@ void savecfgf() { FILE* cfgfile = fopen(cfgPath.c_str(),"wt"); if (!cfgfile) + { printf("Error : Unable to open file for saving \n"); + } else { cfgdb.save(cfgfile);