fixed saving config message

This commit is contained in:
oy 2015-10-27 16:58:43 +01:00
parent a97c15b20c
commit d55d6ab82d

View file

@ -102,7 +102,10 @@ public:
{
if(!m_pStorage)
return;
m_ConfigFile = m_pStorage->OpenFile(pFilename ? pFilename : "settings.cfg", IOFLAG_WRITE, IStorage::TYPE_SAVE);
if(!pFilename)
pFilename = "settings.cfg";
m_ConfigFile = m_pStorage->OpenFile(pFilename, IOFLAG_WRITE, IStorage::TYPE_SAVE);
if(!m_ConfigFile)
return;