Commit:    74983a45cc3be6f9697843d9dfb7913021c2519b
Author:    Pierre Joye <pierre....@gmail.com>         Wed, 27 Feb 2013 20:23:31 
+0100
Parents:   03d0bf633d26644f6105e1f75f86dd352e80ce0f
Branches:  master

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

Log:
- fix name for imageflip constants, consistent witht the other

Changed paths:
  M  ext/gd/gd.c


Diff:
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index 05ab6551..c6400f5 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -1200,9 +1200,10 @@ PHP_MINIT_FUNCTION(gd)
        REGISTER_LONG_CONSTANT("IMG_EFFECT_NORMAL", gdEffectNormal, CONST_CS | 
CONST_PERSISTENT);
        REGISTER_LONG_CONSTANT("IMG_EFFECT_OVERLAY", gdEffectOverlay, CONST_CS 
| CONST_PERSISTENT);
        REGISTER_LONG_CONSTANT("GD_BUNDLED", 1, CONST_CS | CONST_PERSISTENT);
-       REGISTER_LONG_CONSTANT("GD_FLIP_HORINZONTAL", GD_FLIP_HORINZONTAL, 
CONST_CS | CONST_PERSISTENT);
-       REGISTER_LONG_CONSTANT("GD_FLIP_VERTICAL", GD_FLIP_VERTICAL, CONST_CS | 
CONST_PERSISTENT);
-       REGISTER_LONG_CONSTANT("GD_FLIP_BOTH", GD_FLIP_BOTH, CONST_CS | 
CONST_PERSISTENT);
+
+       REGISTER_LONG_CONSTANT("IMG_FLIP_HORINZONTAL", 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
        REGISTER_LONG_CONSTANT("GD_BUNDLED", 0, CONST_CS | CONST_PERSISTENT);
 #endif


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

Reply via email to