From: cristy Date: Sat, 16 Mar 2013 13:56:03 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~4070 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca0aa658e700b82fdcfc65c359301fd089271911;p=imagemagick --- diff --git a/MagickCore/widget.c b/MagickCore/widget.c index 51cb2348f..174b686ff 100644 --- a/MagickCore/widget.c +++ b/MagickCore/widget.c @@ -6893,6 +6893,7 @@ MagickPrivate void XListBrowserWidget(Display *display,XWindows *windows, XGetWidgetInfo((char *) NULL,&north_info); XGetWidgetInfo((char *) NULL,&south_info); XGetWidgetInfo((char *) NULL,&expose_info); + XGetWidgetInfo((char *) NULL,&selection_info); visible_entries=0; delay=SuspendTime << 2; state=UpdateConfigurationState; diff --git a/MagickCore/xwindow.c b/MagickCore/xwindow.c index 3069d50ac..edb4f61f6 100644 --- a/MagickCore/xwindow.c +++ b/MagickCore/xwindow.c @@ -6387,6 +6387,7 @@ static void XMakeImageLSBFirst(const XResourceInfo *resource_info, /* Convert to multi-byte continuous-tone X canvas. */ + (void) ResetMagickMemory(channel,0,sizeof(channel)); bytes_per_pixel=(unsigned int) (ximage->bits_per_pixel >> 3); for (y=0; y < (int) canvas->rows; y++) {