Bump the cache version to 5

FcPattern isn't compatible to the older.
This commit is contained in:
Akira TAGOH 2014-12-25 13:11:21 +09:00
parent 456937cd15
commit 365809938e
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ typedef int FcBool;
* it means multiple copies of the font information.
*/
#define FC_CACHE_VERSION "4"
#define FC_CACHE_VERSION "5"
#define FcTrue 1
#define FcFalse 0

View File

@ -470,7 +470,7 @@ typedef struct _FcCaseFold {
#define FC_CACHE_MAGIC_MMAP 0xFC02FC04
#define FC_CACHE_MAGIC_ALLOC 0xFC02FC05
#define FC_CACHE_CONTENT_VERSION 4
#define FC_CACHE_CONTENT_VERSION 5
struct _FcAtomic {
FcChar8 *file; /* original file name */