summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-01 02:30:53 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-01 02:30:53 +0000
commit9f5dcb241aafc1ee3744af6393d2d2b2a078f4ad (patch)
tree70a1f89bd6fc7a692fe2eac57e83178b0f3111d7 /nuttx
parentf89d3e1e2b6e387f4818003ef33b23d499b6722a (diff)
downloadpx4-nuttx-9f5dcb241aafc1ee3744af6393d2d2b2a078f4ad.tar.gz
px4-nuttx-9f5dcb241aafc1ee3744af6393d2d2b2a078f4ad.tar.bz2
px4-nuttx-9f5dcb241aafc1ee3744af6393d2d2b2a078f4ad.zip
Improperly initialized rectangle
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1364 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/graphics/nxbe/nxbe_setposition.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/graphics/nxbe/nxbe_setposition.c b/nuttx/graphics/nxbe/nxbe_setposition.c
index 46be211ed..f29644d33 100644
--- a/nuttx/graphics/nxbe/nxbe_setposition.c
+++ b/nuttx/graphics/nxbe/nxbe_setposition.c
@@ -107,7 +107,7 @@ void nxbe_setposition(FAR struct nxbe_window_s *wnd,
* background window.
*/
- nxgl_rectintersect(&rect, &rect, &wnd->be->bkgd.bounds);
+ nxgl_rectintersect(&rect, &wnd->bounds, &wnd->be->bkgd.bounds);
/* Then redraw this window AND all windows below it. Having moved the
* window, we may have exposed previoulsy obscured portions of windows