From 07488c1b548f02a22fa02019c4664530b30cbbb8 Mon Sep 17 00:00:00 2001 From: twilen Date: Mon, 7 Nov 2011 18:46:06 +0000 Subject: [PATCH] Disappeared intersect != NULL test is back. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@42309 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- compiler/alib/andrectrect.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/compiler/alib/andrectrect.c b/compiler/alib/andrectrect.c index 02a6c1debf..ff733d0051 100644 --- a/compiler/alib/andrectrect.c +++ b/compiler/alib/andrectrect.c @@ -62,10 +62,12 @@ return FALSE; else { - intersect->MinX = MinX; - intersect->MinY = MinY; - intersect->MaxX = MaxX; - intersect->MaxY = MaxY; + if (intersect) { + intersect->MinX = MinX; + intersect->MinY = MinY; + intersect->MaxX = MaxX; + intersect->MaxY = MaxY; + } return TRUE; } -- 2.11.4.GIT