projects
/
nethack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da95ccc
)
win32_gui: fix inventory window visibility when perm_invent is set in game
author
Alex Kompel
<barbos+nethack@gmail.com>
Thu, 14 Jan 2016 16:15:56 +0000
(08:15 -0800)
committer
Alex Kompel
<barbos+nethack@gmail.com>
Thu, 14 Jan 2016 16:15:56 +0000
(08:15 -0800)
win/win32/mswproc.c
patch
|
blob
|
history
diff --git
a/win/win32/mswproc.c
b/win/win32/mswproc.c
index e386ee50ee5c16c3a893d7e1b3e36c1f4e7f7b00..7f2ac577e9ef334e6e5161269c839688eac41438 100644
(file)
--- 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