Need to be consistent: rectangle endpoints are within rectangle
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1395 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
4dbfc53874
commit
9df97950cb
|
@ -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