From 58065ae980012b73425526fde43c811c253f1bbe Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 2 Jul 2018 20:46:39 +0100 Subject: [PATCH] dtwm: 88998 --- cde/programs/dtwm/UI.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/programs/dtwm/UI.c b/cde/programs/dtwm/UI.c index a3a30632..af6c7c40 100644 --- a/cde/programs/dtwm/UI.c +++ b/cde/programs/dtwm/UI.c @@ -2075,7 +2075,7 @@ SwitchCreate (BoxData * box_data) panel.switch_row_count = (int) (intptr_t) (switch_data->element_values[SWITCH_NUMBER_OF_ROWS].parsed_value); switch_data->buttons = - (Widget *) XtMalloc (sizeof (Widget *) * switch_count); + (Widget *) XtMalloc (sizeof (Widget) * switch_count); switch_data->popup_data = NULL; -- 2.25.1