Skip to content
Snippets Groups Projects
Commit 52ca6f16 authored by patacongo's avatar patacongo
Browse files

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
parent 55e089f2
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment