diff options
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)) |
