Accept Integer for FC_SIZE

There are more places to fix I'm sure...

https://bugs.freedesktop.org/show_bug.cgi?id=80873
This commit is contained in:
Behdad Esfahbod 2014-07-04 17:15:11 -04:00
parent cb2f096e15
commit eba6f109de
1 changed files with 3 additions and 1 deletions

View File

@ -88,7 +88,9 @@ FcObjectValidType (FcObject object, FcType type)
return FcTrue;
break;
case FcTypeRange:
if (type == FcTypeRange || type == FcTypeDouble)
if (type == FcTypeRange ||
type == FcTypeDouble ||
type == FcTypeInteger)
return FcTrue;
break;
default: