From 2d98c0e7be8e0803de4b4e8e9ba03635bcef91c8 Mon Sep 17 00:00:00 2001 From: yangfasheng Date: Tue, 12 Dec 2017 19:46:38 +0800 Subject: gui 引擎代码更新; MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/gui/src/image_bmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/gui/src/image_bmp.c') 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)) -- cgit v1.3.1