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/filerw.c | |
| parent | 44e17aa2772a48697604ba1122da4a0bb9015414 (diff) | |
gui 引擎代码更新;
Diffstat (limited to 'components/gui/src/filerw.c')
| -rw-r--r-- | components/gui/src/filerw.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
