cfg/cfg: Fix a nix (add brackets)
This commit is contained in:
parent
f56299209d
commit
42977f8284
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue