forked from minhngoc25a/freetype2
fixed a small bug in the abstract chunk cache class
This commit is contained in:
parent
4966a22cda
commit
0ed2173597
|
@ -183,6 +183,8 @@
|
||||||
FT_ListNode lrunode;
|
FT_ListNode lrunode;
|
||||||
|
|
||||||
|
|
||||||
|
if (node)
|
||||||
|
{
|
||||||
lrunode = FTC_CHUNKNODE_TO_LRUNODE( node );
|
lrunode = FTC_CHUNKNODE_TO_LRUNODE( node );
|
||||||
|
|
||||||
manager->num_bytes -= clazz->size_node( node );
|
manager->num_bytes -= clazz->size_node( node );
|
||||||
|
@ -194,6 +196,7 @@
|
||||||
|
|
||||||
bucket[0] = 0;
|
bucket[0] = 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ( clazz->done )
|
if ( clazz->done )
|
||||||
clazz->done( cset );
|
clazz->done( cset );
|
||||||
|
|
Loading…
Reference in New Issue