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/filerw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/gui/src/filerw.c') diff --git a/components/gui/src/filerw.c b/components/gui/src/filerw.c index 4c1409277b..dc3d7e6fa8 100644 --- a/components/gui/src/filerw.c +++ b/components/gui/src/filerw.c @@ -166,7 +166,7 @@ static int mem_read(struct rtgui_filerw *context, void *ptr, rt_size_t size, rt_ if (total_bytes > mem_available) total_bytes = mem_available; - rt_memcpy(ptr, mem->mem_position, total_bytes); + memcpy(ptr, mem->mem_position, total_bytes); mem->mem_position += total_bytes; return (total_bytes / size); -- cgit v1.3.1