From 088af958c834f0ccc50ea4d6f8746b30df77ab12 Mon Sep 17 00:00:00 2001 From: cristy Date: Mon, 19 Aug 2013 18:34:20 +0000 Subject: [PATCH] --- MagickCore/xwindow.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MagickCore/xwindow.c b/MagickCore/xwindow.c index 7be1ff7fa..4f2f6ff06 100644 --- a/MagickCore/xwindow.c +++ b/MagickCore/xwindow.c @@ -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; -- 2.40.0