[sbix] Fix conditional

This commit is contained in:
Behdad Esfahbod 2022-06-01 09:07:57 -06:00
parent 55b911d863
commit e421613e8f
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ struct sbix
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);
return false;