summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2006-10-06 21:27:23 +0000
committerglx <glx@openttd.org>2006-10-06 21:27:23 +0000
commitdf7f11c70fbad799501b6aa6c5bd70f0f625841f (patch)
tree98e1fb8df62611b7cc6fd8c35e099aa0cc096573
parent8f5c6ff3a167eacf8ae45c913e56c292e65ee110 (diff)
downloadopenttd-df7f11c70fbad799501b6aa6c5bd70f0f625841f.tar.xz
(svn r6670) -Fix r6669: SetWindowWidgetsDisableState() should disable widgets, not hide them
-rw-r--r--window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window.c b/window.c
index 1d3bfefdb..b8a3f8d37 100644
--- a/window.c
+++ b/window.c
@@ -25,7 +25,7 @@ void CDECL SetWindowWidgetsDisabledState(Window *w, bool disab_stat, int widgets
va_start(wdg_list, widgets);
while (widgets != WIDGET_LIST_END) {
- SetWindowWidgetHiddenState(w, widgets, disab_stat);
+ SetWindowWidgetDisableState(w, widgets, disab_stat);
widgets = va_arg(wdg_list, int);
}