X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/git-logo.png?a=blobdiff_plain;f=src%2Frexit.c;h=691cb6840f575e1caac142e49ce8f7d8e33ad6fa;hb=3f2b7a8d7dc649f5afecedf7b630ae964ec5bfe4;hp=c96adc9076133b82fd88ddee32039feb16f99ae8;hpb=93e3207a51c7ba4a31e3fb192e41b4421a906506;p=plomrogue diff --git a/src/rexit.c b/src/rexit.c index c96adc9..691cb68 100644 --- a/src/rexit.c +++ b/src/rexit.c @@ -9,7 +9,7 @@ #include "map.h" /* for Map struct */ #include "keybindings.h" /* for free_keybindings() */ #include "command_db.h" /* for free_command_db() */ -#include "windows.h" /* for Win struct, free_win(), free_winmeta_and_endwin() */ +#include "windows.h" /* for Win struct, free_winmeta_and_endwin() */ #include "map_objects.h" /* for free_map_objects, free_map_object_defs() */ #include "misc.h" /* for unload_interface_conf() */ #include "map_object_actions.h" /* for free_map_object_actions() */ @@ -48,7 +48,7 @@ static void cleanup() { free(world.map->cells); } - if (cleanup_flags & CLEANUP_INTERFACE_CONF) + if (cleanup_flags & CLEANUP_INTERFACE) { unload_interface_conf(); }