aboutsummaryrefslogtreecommitdiff
path: root/src/cache/ftcmru.c
diff options
context:
space:
mode:
authorDavid Turner <david@freetype.org>2004-02-01 16:59:06 +0000
committerDavid Turner <david@freetype.org>2004-02-01 16:59:06 +0000
commitf546bacdcfcadd13c3b93332635530e58fc62ce3 (patch)
treed98e439bde6443a6bd6f7ac8c2337c37d919b586 /src/cache/ftcmru.c
parent5972e9abf82ba20c29215c3f8d9c75efa12ca243 (diff)
downloadfreetype-f546bacdcfcadd13c3b93332635530e58fc62ce3.tar.gz
* src/sfnt/Jamfile: removing "ttcmap" from the list of sources
* src/cache/*, include/freetype/cache/*: fixing a bug after heavy testing. The current sources are now "release candidates" for the final version of the cache sub-system * Jamfile: updating "refdoc" target, and adding "autohint" to the list of modules to build. Both the autohinter and autofitter will be built by default. But which one will be used is determined by the content of "ftmodule.h" * src/autofit/*: much updates, but the code is still buggy as hell. Aargh..
Diffstat (limited to 'src/cache/ftcmru.c')
-rw-r--r--src/cache/ftcmru.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cache/ftcmru.c b/src/cache/ftcmru.c
index af97ce31e..18df02074 100644
--- a/src/cache/ftcmru.c
+++ b/src/cache/ftcmru.c
@@ -215,10 +215,15 @@
do
{
if ( compare( node, key ) )
+ {
+ if ( node != first )
+ FTC_MruNode_Up( &list->nodes, node );
+
return node;
+ }
node = node->next;
-
+
} while ( node != first);
}