]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 16 Mar 2013 13:56:03 +0000 (13:56 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 16 Mar 2013 13:56:03 +0000 (13:56 +0000)
MagickCore/widget.c
MagickCore/xwindow.c

index 51cb2348f201a7cf719658005d14f8ed4f26e561..174b686ffbfe103b5b8e56dc1b676a83d952828e 100644 (file)
@@ -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;
index 3069d50ac6c00ff3b31904facfb9368da5af3d3f..edb4f61f6abe19806c7648d67f2b82f07e1ce472 100644 (file)
@@ -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++)
                 {