Fixed the crash that would occur if vbam.ini and vbam.cfg are not found

This commit is contained in:
skidau 2015-04-19 09:54:14 +00:00
parent 392ad54086
commit 6a987e31b7
1 changed files with 1 additions and 1 deletions

View File

@ -416,7 +416,7 @@ void SetHome(char *_arg0)
void OpenPreferences(const char *name)
{
if (!preferences)
if (!preferences && name)
preferences = iniparser_load(name);
}