From f39c1b667ec6b707bb925ef4c5b553c6c08c1ebf Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 2 Dec 2008 20:57:45 +0000 Subject: Remove redundant origin value git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1393 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/graphics/nxbe/nxbe_bitmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nuttx/graphics/nxbe/nxbe_bitmap.c') diff --git a/nuttx/graphics/nxbe/nxbe_bitmap.c b/nuttx/graphics/nxbe/nxbe_bitmap.c index dbaa1c6b1..293033dc2 100644 --- a/nuttx/graphics/nxbe/nxbe_bitmap.c +++ b/nuttx/graphics/nxbe/nxbe_bitmap.c @@ -137,8 +137,8 @@ void nxbe_bitmap(FAR struct nxbe_window_s *wnd, FAR const struct nxgl_rect_s *de /* Offset the rectangle and image origin by the window origin */ - nxgl_rectoffset(&bounds, dest, wnd->origin.x, wnd->origin.y); - nxgl_vectoradd(&offset, origin, &wnd->origin); + nxgl_rectoffset(&bounds, dest, wnd->bounds.pt1.x, wnd->bounds.pt1.y); + nxgl_vectoradd(&offset, origin, &wnd->bounds.pt1); /* Verify that the destination rectangle begins "below" and to the "right" * of the origin -- cgit v1.2.3