Fix Savannah bug #27999.
* src/cache/ftcmanag.c (FTC_Manager_RemoveFaceID): Only remove selected entry, not all.
This commit is contained in:
parent
4b407fff2e
commit
08e254e0a6
@ -1,3 +1,10 @@
|
||||
2010-04-14 Michał Cichoń <thedmd@artifexmundi.com>
|
||||
|
||||
Fix Savannah bug #27999.
|
||||
|
||||
* src/cache/ftcmanag.c (FTC_Manager_RemoveFaceID): Only remove
|
||||
selected entry, not all.
|
||||
|
||||
2010-04-06 Jonathan Kew <jfkthame@gmail.com>
|
||||
|
||||
Add overflow check to `fvar' table.
|
||||
|
4
src/cache/ftcmanag.c
vendored
4
src/cache/ftcmanag.c
vendored
@ -4,7 +4,7 @@
|
||||
/* */
|
||||
/* FreeType Cache Manager (body). */
|
||||
/* */
|
||||
/* Copyright 2000-2001, 2002, 2003, 2004, 2005, 2006, 2008, 2009 by */
|
||||
/* Copyright 2000-2001, 2002, 2003, 2004, 2005, 2006, 2008, 2009, 2010 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
@ -670,7 +670,7 @@
|
||||
* the face_id as well
|
||||
*/
|
||||
FTC_MruList_RemoveSelection( &manager->faces,
|
||||
(FTC_MruNode_CompareFunc)NULL,
|
||||
ftc_face_node_compare,
|
||||
face_id );
|
||||
|
||||
for ( nn = 0; nn < manager->num_caches; nn++ )
|
||||
|
Loading…
Reference in New Issue
Block a user