mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-07 20:28:02 +02:00
* src/cache/ftcmru.c (FTC_MruList_RemoveSelection): Handle a NULL
value for `selection' as `select all'.
This commit is contained in:
parent
02d1e62410
commit
af3f0093e0
2 changed files with 6 additions and 1 deletions
|
|
@ -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
2
src/cache/ftcmru.c
vendored
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue