mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user