[sbix] Fix conditional
This commit is contained in:
parent
55b911d863
commit
e421613e8f
|
@ -298,7 +298,7 @@ struct sbix
|
||||||
|
|
||||||
const PNGHeader &png = *blob->as<PNGHeader>();
|
const PNGHeader &png = *blob->as<PNGHeader>();
|
||||||
|
|
||||||
if (png.IHDR.height >= 65536 | png.IHDR.width >= 65536)
|
if (png.IHDR.height >= 65536 || png.IHDR.width >= 65536)
|
||||||
{
|
{
|
||||||
hb_blob_destroy (blob);
|
hb_blob_destroy (blob);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue