Using uninitialized variable
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1402 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
9cefcc8a9c
commit
7b815c07c6
|
@ -102,9 +102,9 @@ void nxtk_subwindowclip(FAR struct nxtk_framedwindow_s *fwnd,
|
|||
|
||||
/* Temporarily, position the src rectangle in absolute screen coordinates */
|
||||
|
||||
nxgl_rectoffset(&tmp, dest, bounds->pt1.x, bounds->pt1.y);
|
||||
nxgl_rectoffset(&tmp, src, bounds->pt1.x, bounds->pt1.y);
|
||||
|
||||
/* Clip the dest rectangle to lie within the client window region */
|
||||
/* Clip the src rectangle to lie within the client window region */
|
||||
|
||||
nxgl_rectintersect(&tmp, &tmp, bounds);
|
||||
|
||||
|
|
Loading…
Reference in New Issue