Typo.
authorDanack <Danack@basereality.com>
Tue, 26 Mar 2019 14:00:24 +0000 (14:00 +0000)
committerDanack <Danack@basereality.com>
Tue, 26 Mar 2019 14:00:24 +0000 (14:00 +0000)
imagickkernel_class.c

index ebd3946..1ab9dc1 100644 (file)
@@ -377,7 +377,7 @@ PHP_METHOD(imagickkernel, frommatrix)
                }
                // origin_y is unsigned, so checking for > num_columns, also
                // checks for < 0
-               if (origin_y<0 || origin_y>=num_columns) {
+               if (origin_y>=num_columns) {
                        zend_throw_exception_ex(
                                php_imagickkernel_exception_class_entry,
                                5 TSRMLS_CC,