diff --git a/graphics/nxglib/nxglib_nullrect.c b/graphics/nxglib/nxglib_nullrect.c index 4895a2f6cd..dad690cf0b 100644 --- a/graphics/nxglib/nxglib_nullrect.c +++ b/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); }