summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxglib
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-05-20 02:12:48 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-05-20 02:12:48 +0000
commitf5d568973306ead83c99302d459d9fb665aeb3d5 (patch)
treef7e5e690925c1a8739769d09fc022c6c56edba19 /nuttx/graphics/nxglib
parent65a3064c52c7255783a60ab9b31762f7299bdb2a (diff)
downloadnuttx-f5d568973306ead83c99302d459d9fb665aeb3d5.tar.gz
nuttx-f5d568973306ead83c99302d459d9fb665aeb3d5.tar.bz2
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/nxglib')
-rwxr-xr-xnuttx/graphics/nxglib/lcd/nxglib_copyrectangle.c2
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