This commit is contained in:
Behdad Esfahbod 2013-01-03 04:19:12 -06:00
parent 16ddb9ff31
commit 8e143b4ec4
1 changed files with 4 additions and 1 deletions

View File

@ -34,7 +34,10 @@ FcObjectTypeLookup (register const char *str, register unsigned int len);
#include <string.h>
static fc_atomic_int_t next_id = FC_MAX_BASE_OBJECT + 1;
/* The 1000 is to leave some room for future added internal objects, such
* that caches from newer fontconfig can still be used with older fontconfig
* without getting confused. */
static fc_atomic_int_t next_id = FC_MAX_BASE_OBJECT + 1000;
struct FcObjectOtherTypeInfo {
struct FcObjectOtherTypeInfo *next;
FcObjectType object;