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:
parent
cb2f096e15
commit
eba6f109de
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue