changeset 4756:a9a6bd8ab356 draft

(svn r6670) -Fix r6669: SetWindowWidgetsDisableState() should disable widgets, not hide them
author glx <glx@openttd.org>
date Fri, 06 Oct 2006 21:27:23 +0000
parents c317248d17fe
children 37f529b8a444
files window.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/window.c
+++ b/window.c
@@ -25,7 +25,7 @@
 	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);
 	}