* src/cache/ftcsbits.c (ftc_sbit_node_compare): Only add `size' if
there is no error. Reported by Knut St. Osmundsen <bird-freetype@anduin.net>.
This commit is contained in:
parent
6d79899362
commit
4ee9b7bab1
|
@ -1,3 +1,9 @@
|
|||
2003-07-01 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/cache/ftcsbits.c (ftc_sbit_node_compare): Only add `size' if
|
||||
there is no error. Reported by Knut St. Osmundsen
|
||||
<bird-freetype@anduin.net>.
|
||||
|
||||
2003-06-30 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
A new try to synchronize bitmap font access.
|
||||
|
|
|
@ -308,13 +308,10 @@
|
|||
FT_ULong size;
|
||||
|
||||
|
||||
/* yes, it's safe to ignore errors here */
|
||||
ftc_sbit_node_load( snode,
|
||||
cache->manager,
|
||||
if ( !ftc_sbit_node_load(
|
||||
snode, cache->manager,
|
||||
FTC_SBIT_FAMILY( FTC_QUERY( squery )->family ),
|
||||
gindex,
|
||||
&size );
|
||||
|
||||
gindex, &size ) )
|
||||
cache->manager->cur_weight += size;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue