cvs: php4 /ext/gd gd.c
| From: | Markus Fischer | Date: | Sat, 15 Jun 2002 18:14:20 +0000 |
| Subject: | cvs: php4 /ext/gd gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12372@lists.php.net to get a copy of this message | ||
mfischer Sat Jun 15 14:14:20 2002 EDT
Modified files:
/php4/ext/gd gd.c
Log:
- Be more verbose which index causes the warning.
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.188 php4/ext/gd/gd.c:1.189
--- php4/ext/gd/gd.c:1.188 Sat Jun 15 13:46:44 2002
+++ php4/ext/gd/gd.c Sat Jun 15 14:14:19 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.188 2002/06/15 17:46:44 mfischer Exp $ */
+/* $Id: gd.c,v 1.189 2002/06/15 18:14:19 mfischer Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -1714,7 +1714,8 @@
gdImageColorDeallocate(im, col);
RETURN_TRUE;
} else {
- php_error(E_WARNING, "Color index out of range");
+ php_error(E_WARNING, "%s() color index %d out of range",
+ get_active_function_name(TSRMLS_C), col);
RETURN_FALSE;
}
}
@@ -1830,7 +1831,8 @@
}
#endif
else {
- php_error(E_WARNING, "Color index out of range");
+ php_error(E_WARNING, "%s() color index %d out of range",
+ get_active_function_name(TSRMLS_C), col);
RETURN_FALSE;
}
}