diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-03 00:30:59 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-03 00:30:59 +0000 |
commit | 90f623d654165656a3885a3a562f15c5d8187690 (patch) | |
tree | 312dc4fc80a7e4551f6da0a1a4ba127f56623951 /nuttx/graphics | |
parent | a9ad895e5916bf9c5159899e05407d864240a93e (diff) | |
download | px4-nuttx-90f623d654165656a3885a3a562f15c5d8187690.tar.gz px4-nuttx-90f623d654165656a3885a3a562f15c5d8187690.tar.bz2 px4-nuttx-90f623d654165656a3885a3a562f15c5d8187690.zip |
Using uninitialized variable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1402 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics')
-rw-r--r-- | nuttx/graphics/nxtk/nxtk_subwindowclip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/graphics/nxtk/nxtk_subwindowclip.c b/nuttx/graphics/nxtk/nxtk_subwindowclip.c index 594e7d844..73dc1828b 100644 --- a/nuttx/graphics/nxtk/nxtk_subwindowclip.c +++ b/nuttx/graphics/nxtk/nxtk_subwindowclip.c @@ -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); |