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
This commit is contained in:
patacongo 2008-12-03 00:23:28 +00:00
parent 55e089f25e
commit 52ca6f16a6
1 changed files with 1 additions and 1 deletions

View File

@ -77,6 +77,6 @@
boolean nxgl_nullrect(FAR const struct nxgl_rect_s *rect) 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);
} }