diff options
Diffstat (limited to 'nuttx/graphics/nxglib/nxglib_rectinside.c')
-rw-r--r-- | nuttx/graphics/nxglib/nxglib_rectinside.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/graphics/nxglib/nxglib_rectinside.c b/nuttx/graphics/nxglib/nxglib_rectinside.c index 5d631d533..aa09eb2d7 100644 --- a/nuttx/graphics/nxglib/nxglib_rectinside.c +++ b/nuttx/graphics/nxglib/nxglib_rectinside.c @@ -79,5 +79,5 @@ boolean nxgl_rectinside(FAR const struct nxgl_rect_s *rect, FAR const struct nxgl_point_s *pt) { return (pt->x >= rect->pt1.x && pt->x <= rect->pt2.x && - pt->x >= rect->pt1.y && pt->y <= rect->pt2.y); + pt->y >= rect->pt1.y && pt->y <= rect->pt2.y); } |