]> granicus.if.org Git - php/commitdiff
recommended changes
authorColin Viebrock <cmv@php.net>
Fri, 7 Apr 2000 18:50:08 +0000 (18:50 +0000)
committerColin Viebrock <cmv@php.net>
Fri, 7 Apr 2000 18:50:08 +0000 (18:50 +0000)
ext/gd/gd.c
ext/pdf/pdf.c

index 611030a84d03e85ecebf7577a0343fa9a8eca431..fc0b450af65519939b98b347ff4b326ce1516ea5 100644 (file)
@@ -255,6 +255,9 @@ PHP_MINFO_FUNCTION(gd)
 #endif
 #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();
 }
index 918ba338c494048412c14adbd8998b2af55b2cd8..6bae1adde4a2a7ce5f496c17e75e4d3bedbe6c90 100644 (file)
@@ -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" );