del php-src: ext/gd/gd.c
| From: | JulienPauli | Date: | Wed, 10 Jun 2015 12:27:23 +0000 |
| Subject: | del php-src: ext/gd/gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-87191@lists.php.net to get a copy of this message | ||
Branch: PHP-5.5.26
Deleted commits count: 1
User: JulienPauli <jpauli@php.net> Wed, 10 Jun 2015 12:27:23 +0000
Changed paths:
M ext/gd/gd.c
Diff:
diff --git b/ext/gd/gd.c a/ext/gd/gd.c
index f7c45ec..76e2c5b 100644
--- b/ext/gd/gd.c
+++ a/ext/gd/gd.c
@@ -3866,9 +3866,8 @@ static void php_imagettftext_common(INTERNAL_FUNCTION_PARAMETERS, int mode,
int
#endif /* VIRTUAL_DIR */
PHP_GD_CHECK_OPEN_BASEDIR(fontname, "Invalid font filename");
-
-#ifdef USE_GD_IMGSTRTTF
-# if HAVE_GD_STRINGFTEX
+
+#ifdef HAVE_GD_FREETYPE
if (extended) {
error = gdImageStringFTEx(im, brect, col, fontname, ptsize, angle, x, y, str, &strex);
}
@@ -4444,8 +4443,8 @@ static void _php_image_convert(INTERNAL_FUNCTION_PARAMETERS, int image_type )
int int_threshold;
int x, y;
float x_ratio, y_ratio;
- long ignore_warning;
-
+ long ignore_warning;
+
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pplll", &f_org,
&f_org_len, &f_dest, &f_dest_len, &height, &width, &threshold) == FAILURE) {
return;
}