projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39f2c08
)
dtwm: 88998
author
Peter Howkins
<flibble@users.sf.net>
Mon, 2 Jul 2018 19:46:39 +0000
(20:46 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Mon, 2 Jul 2018 19:46:39 +0000
(20:46 +0100)
cde/programs/dtwm/UI.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtwm/UI.c
b/cde/programs/dtwm/UI.c
index a3a30632fcf2738c07a0d65947de651f3fa6609f..af6c7c40ee5e092dc88afe4bcfee485f96b1ea3a 100644
(file)
--- 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;