From: Alex Kompel Date: Thu, 14 Jan 2016 16:15:56 +0000 (-0800) Subject: win32_gui: fix inventory window visibility when perm_invent is set in game X-Git-Tag: NetHack-3.6.1_RC01~1024^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f83e09e4abda1faac426761a269580c7ccc3dbf6;p=nethack win32_gui: fix inventory window visibility when perm_invent is set in game --- diff --git a/win/win32/mswproc.c b/win/win32/mswproc.c index e386ee50e..7f2ac577e 100644 --- a/win/win32/mswproc.c +++ b/win/win32/mswproc.c @@ -1980,6 +1980,11 @@ mswin_preference_update(const char *pref) mswin_layout_main_window(NULL); return; } + + if (stricmp(pref, "perm_invent") == 0) { + mswin_update_inventory(); + return; + } } #define TEXT_BUFFER_SIZE 4096