fontconfig: Branch 'master'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 src/fcobjs.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 8e143b4ec447a7ee6c501e7488a3c94db7e6a035
Author: Behdad Esfahbod <behdad@xxxxxxxxxx>
Date:   Thu Jan 3 04:19:12 2013 -0600

    Minor

diff --git a/src/fcobjs.c b/src/fcobjs.c
index 1aa4a77..146ca70 100644
--- a/src/fcobjs.c
+++ b/src/fcobjs.c
@@ -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;
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux