More conditional compilation lines that can possibly be removed:
#if !defined(NO_ESMLIST_EDIT)
That’s in project/EsmListCtrl.cpp and project/EsmListCtrl.h. From what I can tell, that macro is used to disable the editing of the records of each file (not entirely sure as the files are undocumented). It may be for debugging reasons or something else. Will need investigating before we disable that check to make sure the files work correctly. The macro is disabled by default so you need to tell the compiler to disable editing so I suspect that the conditional is no longer needed. It’s not hurting anything by leaving it in, other than slowing down compilation by a few nanoseconds and looking weird in the code.
In any case, it’s another line that needs to be changed to #ifndef NO_ESMLIST_EDIT at the bare minimum for modernization 🙂
