From 2660ec08c245254d850106b607444a64b624ba6e Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 19 May 2014 17:32:24 +0100 Subject: [PATCH] Remove duplicate condition. --- atari/gemtk/guiwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atari/gemtk/guiwin.c b/atari/gemtk/guiwin.c index 9a5c93d9b..b52f1ab5c 100644 --- a/atari/gemtk/guiwin.c +++ b/atari/gemtk/guiwin.c @@ -1338,7 +1338,7 @@ bool gemtk_wm_has_intersection(GUIWIN *win, GRECT *work) } wind_get_grect(win->handle, WF_FIRSTXYWH, &area); - while (area.g_w && area.g_w) { + while (area.g_w) { //GRECT * ptr = &area; if (RC_WITHIN(work, &area)) { retval = false;