added fix for editor->append by xalduin

This commit is contained in:
Tom Adams 2010-05-31 21:55:45 +00:00
parent f14e7369f1
commit 54692ceaf1

View file

@ -574,7 +574,7 @@ int CEditor::Append(const char *pFileName)
int Err;
Err = NewMap.Load(Kernel()->RequestInterface<IStorage>(), pFileName);
if(Err)
if(!Err)
return Err;
// modify indecies