diff options
Diffstat (limited to 'nuttx/graphics/nxglib')
-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 |