fixed rect containment test.
git-svn-id: svn://10.0.0.236/trunk@24899 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -186,7 +186,7 @@ PRBool nsRegionGTK::ContainsRect(PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32
|
||||
|
||||
containment = ::gdk_region_rect_in(mRegion, &rect);
|
||||
|
||||
if (containment == GDK_OVERLAP_RECTANGLE_IN)
|
||||
if (containment != GDK_OVERLAP_RECTANGLE_OUT)
|
||||
return PR_TRUE;
|
||||
else
|
||||
return PR_FALSE;
|
||||
|
||||
Reference in New Issue
Block a user