version 1.3 | | version 1.4 |
---|
| | |
/*** check if exist ***/ | | /*** check if exist ***/ |
/* Dragon Master */ | | /* Dragon Master */ |
for(editor = self->edit; editor; editor = editor->next) | | for(editor = self->edit; editor; editor = editor->next) |
if(!strcmp(editor->emap->path, path)) { | | if(path != NULL && !strcmp(editor->emap->path, path)) { |
/*** save, if modified ***/ | | /*** save, if modified ***/ |
if (editor->modified) { | | if (editor->modified) { |
switch (CnvNotify ("Map modified, discard changes?", | | switch (CnvNotify ("Map modified, discard changes?", |