From f83e09e4abda1faac426761a269580c7ccc3dbf6 Mon Sep 17 00:00:00 2001 From: Alex Kompel Date: Thu, 14 Jan 2016 08:15:56 -0800 Subject: [PATCH] win32_gui: fix inventory window visibility when perm_invent is set in game --- win/win32/mswproc.c | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.50.1