From 72dc2d10253361cfbb6f3a04f3c39a084de40fcb Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Thu, 24 Feb 2005 20:22:18 +0000 Subject: [PATCH] - This must be == 1 --- ext/standard/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/image.c b/ext/standard/image.c index cc2bdb0cd3..42bc40b1b9 100644 --- a/ext/standard/image.c +++ b/ext/standard/image.c @@ -687,7 +687,7 @@ static struct gfxinfo *php_handle_jp2(php_stream *stream TSRMLS_DC) break; } - if (box_length <= 1) { + if (box_length == 1) { /* We won't handle XLBoxes */ return NULL; } -- 2.50.1