diff options
author | glx <glx@openttd.org> | 2006-10-06 21:27:23 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2006-10-06 21:27:23 +0000 |
commit | df7f11c70fbad799501b6aa6c5bd70f0f625841f (patch) | |
tree | 98e1fb8df62611b7cc6fd8c35e099aa0cc096573 | |
parent | 8f5c6ff3a167eacf8ae45c913e56c292e65ee110 (diff) | |
download | openttd-df7f11c70fbad799501b6aa6c5bd70f0f625841f.tar.xz |
(svn r6670) -Fix r6669: SetWindowWidgetsDisableState() should disable widgets, not hide them
-rw-r--r-- | window.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |