diff options
| author | yangfasheng <[email protected]> | 2017-12-12 19:46:38 +0800 |
|---|---|---|
| committer | yangfasheng <[email protected]> | 2017-12-12 19:46:38 +0800 |
| commit | 2d98c0e7be8e0803de4b4e8e9ba03635bcef91c8 (patch) | |
| tree | 2369b56b2cb936de281b8e8b335da94828298af3 /components/gui/src/image_bmp.c | |
| parent | 44e17aa2772a48697604ba1122da4a0bb9015414 (diff) | |
gui 引擎代码更新;
Diffstat (limited to 'components/gui/src/image_bmp.c')
| -rw-r--r-- | components/gui/src/image_bmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/gui/src/image_bmp.c b/components/gui/src/image_bmp.c index a496b9261f..27a26ed4b5 100644 --- a/components/gui/src/image_bmp.c +++ b/components/gui/src/image_bmp.c @@ -423,14 +423,14 @@ static rt_bool_t rtgui_image_bmp_load(struct rtgui_image *image, struct rtgui_fi { if (bmp->scale == 0) { - rt_memcpy((void *)dst, (void *)wrkBuffer, readLength); + memcpy((void *)dst, (void *)wrkBuffer, readLength); dst += readLength; } else { for (loadIndex = skipLength; loadIndex < readLength; loadIndex += bytePerPixel << bmp->scale) { - rt_memcpy((void *)dst, (void *)&wrkBuffer[loadIndex], bytePerPixel); + memcpy((void *)dst, (void *)&wrkBuffer[loadIndex], bytePerPixel); dst += bytePerPixel; } if (readLength % (1 << bmp->scale)) |
