summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-03 00:23:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-03 00:23:28 +0000
commit019f7a26403f9f9f4aa8fc91a14bf199d3c06b6c (patch)
treeed2dca629d5c0a1d434960ba49b368bc798e2e31 /nuttx
parentf3372b4926a4a73d6e12a027389673a650130d92 (diff)
downloadpx4-nuttx-019f7a26403f9f9f4aa8fc91a14bf199d3c06b6c.tar.gz
px4-nuttx-019f7a26403f9f9f4aa8fc91a14bf199d3c06b6c.tar.bz2
px4-nuttx-019f7a26403f9f9f4aa8fc91a14bf199d3c06b6c.zip
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
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/graphics/nxglib/nxglib_nullrect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/graphics/nxglib/nxglib_nullrect.c b/nuttx/graphics/nxglib/nxglib_nullrect.c
index 4895a2f6c..dad690cf0 100644
--- a/nuttx/graphics/nxglib/nxglib_nullrect.c
+++ b/nuttx/graphics/nxglib/nxglib_nullrect.c
@@ -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);
}