Fixed amb1267 - FlagManager caused a crash if the cmdaccess.ini was not writable
This commit is contained in:
parent
9801c4166f
commit
be35cc9912
@ -294,6 +294,11 @@ void CFlagManager::WriteCommands(void)
|
|||||||
|
|
||||||
|
|
||||||
File=fopen(m_strConfigFile.c_str(),"a");
|
File=fopen(m_strConfigFile.c_str(),"a");
|
||||||
|
|
||||||
|
if (!File)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
iter=m_FlagList.begin();
|
iter=m_FlagList.begin();
|
||||||
end=m_FlagList.end();
|
end=m_FlagList.end();
|
||||||
|
Loading…
Reference in New Issue
Block a user