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:
parent
55e089f25e
commit
52ca6f16a6
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue