move the code a bit to load/save other formats

This commit is contained in:
tildearrow 2022-01-08 02:22:04 -05:00
parent 073703f8ba
commit 254bf18036
3 changed files with 134 additions and 115 deletions

View file

@ -2382,7 +2382,7 @@ int FurnaceGUI::save(String path) {
lastError=strerror(errno);
return 1;
}
SafeWriter* w=e->save();
SafeWriter* w=e->saveDMF();
if (w==NULL) {
lastError=e->getLastError();
fclose(outFile);