fix .dnm and .eft loading

This commit is contained in:
tildearrow 2024-03-16 12:16:09 -05:00
parent 92b1c95259
commit 845eb582a6
5 changed files with 24 additions and 6 deletions

View file

@ -612,7 +612,7 @@ int main(int argc, char** argv) {
return 1;
}
fclose(f);
if (!e.load(file,(size_t)len)) {
if (!e.load(file,(size_t)len,fileName.c_str())) {
reportError(fmt::sprintf("could not open file! (%s)",e.getLastError()));
e.everythingOK();
finishLogFile();