1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtwm: 88998

This commit is contained in:
Peter Howkins 2018-07-02 20:46:39 +01:00
parent 39f2c08b94
commit 58065ae980

View file

@ -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;