From 9583914ba076818ce50dbce10cce990649742952 Mon Sep 17 00:00:00 2001 From: kraxel Date: Fri, 17 Mar 2006 12:46:41 +0000 Subject: sync up, minor fixes --- sane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sane.c') 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); -- cgit