diff options
| author | Colin Viebrock <cmv@php.net> | 2000-04-07 18:50:08 +0000 |
|---|---|---|
| committer | Colin Viebrock <cmv@php.net> | 2000-04-07 18:50:08 +0000 |
| commit | 34ba0394cbf63178da6991d2050c73d58122f894 (patch) | |
| tree | 1bd7eecb4f5c590be6d3896fc3dc65c0030716d8 | |
| parent | adc5bbc9250c8faae40abaeac52286d4520628f1 (diff) | |
| download | php-git-34ba0394cbf63178da6991d2050c73d58122f894.tar.gz | |
recommended changes
| -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" ); |
