From 9f5dcb241aafc1ee3744af6393d2d2b2a078f4ad Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 1 Dec 2008 02:30:53 +0000 Subject: Improperly initialized rectangle git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1364 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/graphics/nxbe/nxbe_setposition.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nuttx/graphics/nxbe/nxbe_setposition.c') 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 -- cgit v1.2.3