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;
|
return FcTrue;
|
||||||
break;
|
break;
|
||||||
case FcTypeRange:
|
case FcTypeRange:
|
||||||
if (type == FcTypeRange || type == FcTypeDouble)
|
if (type == FcTypeRange ||
|
||||||
|
type == FcTypeDouble ||
|
||||||
|
type == FcTypeInteger)
|
||||||
return FcTrue;
|
return FcTrue;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue