diff options
Diffstat (limited to 'nuttx/graphics')
-rw-r--r-- | nuttx/graphics/nxglib/nxglib_nullrect.c | 2 |
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); } |