summaryrefslogtreecommitdiff
path: root/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'window.c')
-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);
}