cfg/cfg: Fix a nix (add brackets)

This commit is contained in:
Jan Holthuis 2015-08-24 14:46:45 +02:00
parent f56299209d
commit 42977f8284
1 changed files with 2 additions and 0 deletions

View File

@ -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);