From 52ca6f16a6a9eafa865c705c9fb1202b19a57dd0 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 3 Dec 2008 00:23:28 +0000 Subject: [PATCH] Need to be consistent: rectangle endpoints are within rectangle git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1395 42af7a65-404d-4744-a932-0658087f49c3 --- graphics/nxglib/nxglib_nullrect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/nxglib/nxglib_nullrect.c b/graphics/nxglib/nxglib_nullrect.c index 4895a2f6cd..dad690cf0b 100644 --- a/graphics/nxglib/nxglib_nullrect.c +++ b/graphics/nxglib/nxglib_nullrect.c @@ -77,6 +77,6 @@ boolean nxgl_nullrect(FAR const struct nxgl_rect_s *rect) { - return (rect->pt1.x >= rect->pt2.x || rect->pt1.y >= rect->pt2.y); + return (rect->pt1.x > rect->pt2.x || rect->pt1.y > rect->pt2.y); }