From 8967a4d2982dad0a8905db1411df8b1c935f15a2 Mon Sep 17 00:00:00 2001 From: "bernard.xiong" Date: Tue, 16 Mar 2010 13:39:32 +0000 Subject: [PATCH] fix hanzi font cache issue. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@492 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- rtgui/common/font_hz_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtgui/common/font_hz_file.c b/rtgui/common/font_hz_file.c index b805de5ad4..e76439b55a 100644 --- a/rtgui/common/font_hz_file.c +++ b/rtgui/common/font_hz_file.c @@ -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 */ -- GitLab