Commit:    82765a07800fe39f662bb45fd18199d007e0dc23
Author:    Pierre Joye <pierre....@gmail.com>         Wed, 27 Feb 2013 21:02:47 
+0100
Parents:   74983a45cc3be6f9697843d9dfb7913021c2519b
Branches:  master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=82765a07800fe39f662bb45fd18199d007e0dc23

Log:
- typo

Changed paths:
  M  ext/gd/gd.c
  M  ext/gd/tests/imageflip.phpt


Diff:
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index c6400f5..2bd0a2d 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -1201,7 +1201,7 @@ PHP_MINIT_FUNCTION(gd)
        REGISTER_LONG_CONSTANT("IMG_EFFECT_OVERLAY", gdEffectOverlay, CONST_CS 
| CONST_PERSISTENT);
        REGISTER_LONG_CONSTANT("GD_BUNDLED", 1, CONST_CS | CONST_PERSISTENT);
 
-       REGISTER_LONG_CONSTANT("IMG_FLIP_HORINZONTAL", GD_FLIP_HORINZONTAL, 
CONST_CS | CONST_PERSISTENT);
+       REGISTER_LONG_CONSTANT("IMG_FLIP_HORIZONTAL", GD_FLIP_HORINZONTAL, 
CONST_CS | CONST_PERSISTENT);
        REGISTER_LONG_CONSTANT("IMG_FLIP_VERTICAL", GD_FLIP_VERTICAL, CONST_CS 
| CONST_PERSISTENT);
        REGISTER_LONG_CONSTANT("IMG_FLIP_BOTH", GD_FLIP_BOTH, CONST_CS | 
CONST_PERSISTENT);
 #else
diff --git a/ext/gd/tests/imageflip.phpt b/ext/gd/tests/imageflip.phpt
index a1922c2..a326e0a 100644
--- a/ext/gd/tests/imageflip.phpt
+++ b/ext/gd/tests/imageflip.phpt
@@ -14,11 +14,10 @@ imagesetpixel($im, 0, 98, 0x00FF00);
 imagesetpixel($im, 98, 0, 0xFF0000);
 imagesetpixel($im, 98, 98, 0x0000FF);
 
-imageflip($im, IMG_FLIP_HORINZONTAL);
+imageflip($im, IMG_FLIP_HORIZONTAL);
 imageflip($im, IMG_FLIP_VERTICAL);
 imageflip($im, IMG_FLIP_BOTH);
 
-
 var_dump(dechex(imagecolorat($im, 0, 0)));
 var_dump(dechex(imagecolorat($im, 0, 98)));
 var_dump(dechex(imagecolorat($im, 98, 0)));


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to