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 | 871d1cd77b7932d70b8ccc5b783b03b086a12448 (patch) | |
tree | 98e1fb8df62611b7cc6fd8c35e099aa0cc096573 | |
parent | 30e0a8e9522a3ea43fa501cd387ccf8cf962461b (diff) | |
download | openttd-871d1cd77b7932d70b8ccc5b783b03b086a12448.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); } |