cvs: php4 /ext/gd gd.c
| From: | Jani Taskinen | Date: | Wed, 25 Oct 2000 17:35:30 +0000 |
| Subject: | cvs: php4 /ext/gd gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2256@lists.php.net to get a copy of this message | ||
sniper Wed Oct 25 10:35:30 2000 EDT
Modified files:
/php4/ext/gd gd.c
Log:
gdImageWBMP has some bug in it. Using the php-internal one works.
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.91 php4/ext/gd/gd.c:1.92
--- php4/ext/gd/gd.c:1.91 Fri Oct 20 16:39:16 2000
+++ php4/ext/gd/gd.c Wed Oct 25 10:35:29 2000
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.91 2000/10/20 23:39:16 sas Exp $ */
+/* $Id: gd.c,v 1.92 2000/10/25 17:35:29 sniper Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -750,11 +750,7 @@
Output WBMP image to browser or file */
PHP_FUNCTION(imagewbmp)
{
-#ifdef HAVE_GD_WBMP
- _php_image_output(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_WBM, "WBMP",
gdImageWBMP);
-#else
_php_image_output(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_WBM, "WBMP",
_php_image_output_wbmp);
-#endif
}
/* }}} */