aboutsummaryrefslogtreecommitdiffstats
path: root/sane.c
diff options
context:
space:
mode:
authorkraxel <kraxel>2006-03-17 12:46:41 +0000
committerkraxel <kraxel>2006-03-17 12:46:41 +0000
commit9583914ba076818ce50dbce10cce990649742952 (patch)
tree95babab75dd8d7a1d7a442311cda8332529fdd2a /sane.c
parentf356778e6134001ac1543918f77d7d1217a1a3e7 (diff)
downloadfbida-9583914ba076818ce50dbce10cce990649742952.tar.gz
sync up, minor fixes
Diffstat (limited to 'sane.c')
-rw-r--r--sane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sane.c b/sane.c
index 585ac1c..911134d 100644
--- a/sane.c
+++ b/sane.c
@@ -37,7 +37,7 @@ build_menu(Widget widget, XtPointer clientdata, XtPointer call_data)
XtNnumChildren,&nchildren,
NULL);
wlist = malloc(sizeof(Widget*)*nchildren);
- memcpy(list,children,sizeof(Widget*)*nchildren);
+ memcpy(wlist,children,sizeof(Widget*)*nchildren);
for (i = 0; i < nchildren; i++)
XtDestroyWidget(wlist[i]);
free(wlist);