9
0
Fork 0

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:
patacongo 2008-12-03 00:23:28 +00:00
parent 4dbfc53874
commit 9df97950cb
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)
{
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);
}