diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/gd/gd.c | 3 | ||||
-rw-r--r-- | ext/pdf/pdf.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 611030a84d..fc0b450af6 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -256,6 +256,9 @@ PHP_MINFO_FUNCTION(gd) #ifdef HAVE_GD_PNG php_info_print_table_row(2, "PNG Support", "enabled"); #endif +#ifdef HAVE_GD_JPG + php_info_print_table_row(2, "JPG Support", "enabled"); +#endif php_info_print_table_end(); } diff --git a/ext/pdf/pdf.c b/ext/pdf/pdf.c index 918ba338c4..6bae1adde4 100644 --- a/ext/pdf/pdf.c +++ b/ext/pdf/pdf.c @@ -241,7 +241,7 @@ PHP_MINFO_FUNCTION(pdf) char tmp[32]; snprintf(tmp, 31, "%d.%02d", PDF_get_majorversion(), PDF_get_minorversion() ); - tmp[32]=0; + tmp[31]=0; php_info_print_table_start(); php_info_print_table_row(2, "PDF Support", "enabled" ); |