diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-05-20 02:12:48 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-05-20 02:12:48 +0000 |
commit | f5d568973306ead83c99302d459d9fb665aeb3d5 (patch) | |
tree | f7e5e690925c1a8739769d09fc022c6c56edba19 /nuttx/graphics | |
parent | 65a3064c52c7255783a60ab9b31762f7299bdb2a (diff) | |
download | px4-nuttx-f5d568973306ead83c99302d459d9fb665aeb3d5.tar.gz px4-nuttx-f5d568973306ead83c99302d459d9fb665aeb3d5.tar.bz2 px4-nuttx-f5d568973306ead83c99302d459d9fb665aeb3d5.zip |
Fixes a couple of display artifacts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2686 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics')
-rwxr-xr-x | nuttx/graphics/nxglib/lcd/nxglib_copyrectangle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/graphics/nxglib/lcd/nxglib_copyrectangle.c b/nuttx/graphics/nxglib/lcd/nxglib_copyrectangle.c index 893030567..451fdbe21 100755 --- a/nuttx/graphics/nxglib/lcd/nxglib_copyrectangle.c +++ b/nuttx/graphics/nxglib/lcd/nxglib_copyrectangle.c @@ -110,7 +110,7 @@ void NXGL_FUNCNAME(nxgl_copyrectangle,NXGLIB_SUFFIX) /* Copy the image, one row at a time */ - for (row = dest->pt1.y; row < dest->pt2.y; row++) + for (row = dest->pt1.y; row <= dest->pt2.y; row++) { #if NXGLIB_BITSPERPIXEL < 8 /* if the source pixel is not aligned with a byte boundary, then we will |