mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 18:41:14 +00:00
* Create config with sane defaults if not present * isleapp: Use binary mode for iniFP Windows treats newlines differently then on *nix systems. Using binary mode makes this consistent. Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com> * isleapp: Remove extern "C" It seems like it's fine including these libraries without extern "C" * isleapp: Use boolean return in LoadConfig This to check if the config loaded correctly or not. Seems to be a good solution to the file loading issue. Maybe there's a better solution SetupWindow failing because of a config erroring seems a bit odd. * isleapp: Remove that dumb use after free. I forgot you don't specify a filename you specify a *file pointer* * isleapp: Fix iniFP to be in proper scope This also fixes the missing parameter in `iniparser_dump_ini` * .gitignore: Exclude the kate .cache folder * isleapp: Match prototype of LoadConfig in header * isleapp: Fix formating to comply with .clang-format * isleapp: Don't create new config if manually set --------- Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| res | ||
| isleapp.cpp | ||
| isleapp.h | ||
| library_msvc.h | ||
| library_smartheap.h | ||