diff options
Diffstat (limited to 'nuttx/graphics/nxbe/nxbe_fill.c')
-rw-r--r-- | nuttx/graphics/nxbe/nxbe_fill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/graphics/nxbe/nxbe_fill.c b/nuttx/graphics/nxbe/nxbe_fill.c index d175d64fc..fca2445b0 100644 --- a/nuttx/graphics/nxbe/nxbe_fill.c +++ b/nuttx/graphics/nxbe/nxbe_fill.c @@ -125,7 +125,7 @@ void nxbe_fill(FAR struct nxbe_window_s *wnd, * bounding box */ - nxgl_rectoffset(&remaining, rect, wnd->origin.x, wnd->origin.y); + nxgl_rectoffset(&remaining, rect, wnd->bounds.pt1.x, wnd->bounds.pt1.y); /* Clip to the bounding box to the limits of the window and of the * background screen |