* src/cache/ftcmru.c (FTC_MruList_RemoveSelection): Handle a NULL value for `selection' as `select all'.
diff --git a/ChangeLog b/ChangeLog
index 933b857..13cc16b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/src/cache/ftcmru.c b/src/cache/ftcmru.c
index 4b2a7ff..d4f733a 100644
--- a/src/cache/ftcmru.c
+++ b/src/cache/ftcmru.c
@@ -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;