Using uninitialized variable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1402 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
dd4ade3867
commit
63dfdf17b9
|
@ -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