]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 19 Aug 2013 18:34:20 +0000 (18:34 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 19 Aug 2013 18:34:20 +0000 (18:34 +0000)
MagickCore/xwindow.c

index 7be1ff7fa83e0998953b94d52ab7bb3b16ee98bc..4f2f6ff062358356cdfde5156b308eaa46ea21ed 100644 (file)
@@ -4221,8 +4221,7 @@ static Image *XGetWindowImage(Display *display,const Window window,
         /*
           Does target window intersect top level window?
         */
-        import=
-          ((window_info[id].bounds.x2 >= window_info[0].bounds.x1) &&
+        import=((window_info[id].bounds.x2 >= window_info[0].bounds.x1) &&
            (window_info[id].bounds.x1 <= window_info[0].bounds.x2) &&
            (window_info[id].bounds.y2 >= window_info[0].bounds.y1) &&
            (window_info[id].bounds.y1 <= window_info[0].bounds.y2)) ?
@@ -4238,7 +4237,7 @@ static Image *XGetWindowImage(Display *display,const Window window,
                   (window_info[id].bounds.x2 <= window_info[j].bounds.x2) &&
                   (window_info[id].bounds.y1 >= window_info[j].bounds.y1) &&
                   (window_info[id].bounds.y2 <= window_info[j].bounds.y2))
-                  import=MagickFalse;
+                import=MagickFalse;
             }
         if (import == MagickFalse)
           continue;