summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxsu/nxsu_redrawreq.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-02 20:57:45 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-02 20:57:45 +0000
commitf39c1b667ec6b707bb925ef4c5b553c6c08c1ebf (patch)
tree7cd39be21910ee92fb9f72dfdea587796405a6b8 /nuttx/graphics/nxsu/nxsu_redrawreq.c
parentaebaefc303f12beb92c4da219411bdb00aa4e03c (diff)
downloadpx4-nuttx-f39c1b667ec6b707bb925ef4c5b553c6c08c1ebf.tar.gz
px4-nuttx-f39c1b667ec6b707bb925ef4c5b553c6c08c1ebf.tar.bz2
px4-nuttx-f39c1b667ec6b707bb925ef4c5b553c6c08c1ebf.zip
Remove redundant origin value
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1393 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics/nxsu/nxsu_redrawreq.c')
-rw-r--r--nuttx/graphics/nxsu/nxsu_redrawreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/graphics/nxsu/nxsu_redrawreq.c b/nuttx/graphics/nxsu/nxsu_redrawreq.c
index 3226c0c2d..8cd2e8aa2 100644
--- a/nuttx/graphics/nxsu/nxsu_redrawreq.c
+++ b/nuttx/graphics/nxsu/nxsu_redrawreq.c
@@ -93,7 +93,7 @@ void nxfe_redrawreq(FAR struct nxbe_window_s *wnd, FAR const struct nxgl_rect_s
{
/* Convert the frame rectangle to a window-relative rectangle */
- nxgl_rectoffset(&relrect, rect, -wnd->origin.x, -wnd->origin.y);
+ nxgl_rectoffset(&relrect, rect, -wnd->bounds.pt1.x, -wnd->bounds.pt1.y);
/* And request the redraw */