* src/cache/ftcmru.c (FTC_MruList_RemoveSelection): Handle a NULL

value for `selection' as `select all'.
This commit is contained in:
Werner Lemberg 2004-03-20 20:44:45 +00:00
parent 2630e54d2a
commit 9a38e3dd35
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-03-20 Steve Hartwell <shspamsink@comcast.net>
* src/cache/ftcmru.c (FTC_MruList_RemoveSelection): Handle a NULL
value for `selection' as `select all'.
2004-03-19 Steve Hartwell <shspamsink@comcast.net>
* src/sfnt/ttload.c (tt_face_load_sfnt_header): Reject face_index

2
src/cache/ftcmru.c vendored
View File

@ -330,7 +330,7 @@
first = list->nodes;
while ( first && selection( first, key ) )
while ( first && ( selection == NULL || selection( first, key ) ) )
{
FTC_MruList_Remove( list, first );
first = list->nodes;