提交 8967a4d2 编写于 作者: B bernard.xiong

fix hanzi font cache issue.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@492 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 24c754e2
......@@ -72,7 +72,7 @@ static rt_uint8_t* _font_cache_get(struct rtgui_hz_file_font* font, rt_uint16_t
{
/* remove a cache */
struct hz_cache* left;
left = SPLAY_LEFT(font->cache_root.sph_root, hz_node);
left = font->cache_root.sph_root;
while (SPLAY_LEFT(left, hz_node) != RT_NULL) left = SPLAY_LEFT(left, hz_node);
/* remove the left node */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册