mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 00:52:11 +08:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user