aboutsummaryrefslogtreecommitdiff
path: root/fontconfig/src/fcxml.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-11-12 08:07:50 +0100
committermarha <marha@users.sourceforge.net>2013-11-12 08:07:50 +0100
commitb73c544c61712f7bd57f3c9a0f6046481f58038b (patch)
treef5f70891559c93ecdc95ff9532fcebf747cb7952 /fontconfig/src/fcxml.c
parent09e94a8e392e8fe6fd89ddefbf3897a92e525b5b (diff)
downloadvcxsrv-b73c544c61712f7bd57f3c9a0f6046481f58038b.tar.gz
vcxsrv-b73c544c61712f7bd57f3c9a0f6046481f58038b.tar.bz2
vcxsrv-b73c544c61712f7bd57f3c9a0f6046481f58038b.zip
pixman mesa fontconfig git update 12 nov 2013
pixman commit 741007311087be8a711cc9c76ec00e59a156c850 fontconfig commit 38acb08d9778ebad2bfc3407532adf8f2e8e667e mesa commit 594fa4a208b138b0b9b24cc8de62e6681ebb8d21
Diffstat (limited to 'fontconfig/src/fcxml.c')
-rw-r--r--fontconfig/src/fcxml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fontconfig/src/fcxml.c b/fontconfig/src/fcxml.c
index bd95580aa..91d166f38 100644
--- a/fontconfig/src/fcxml.c
+++ b/fontconfig/src/fcxml.c
@@ -610,11 +610,11 @@ FcTypecheckValue (FcConfigParse *parse, FcType value, FcType type)
if ((value == FcTypeLangSet && type == FcTypeString) ||
(value == FcTypeString && type == FcTypeLangSet))
return;
- if (type == (FcType) -1)
+ if (type == FcTypeUnknown)
return;
/* It's perfectly fine to use user-define elements in expressions,
* so don't warn in that case. */
- if (value == (FcType) -1)
+ if (value == FcTypeUnknown)
return;
FcConfigMessage (parse, FcSevereWarning, "saw %s, expected %s",
FcTypeName (value), FcTypeName (type));