svn: /php/php-src/trunk/ext/gd/ gd_ctx.c
| From: | Pierre Joye | Date: | Mon, 03 Jan 2011 15:36:39 +0000 |
| Subject: | svn: /php/php-src/trunk/ext/gd/ gd_ctx.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-64252@lists.php.net to get a copy of this message | ||
pajoye Mon, 03 Jan 2011 15:36:39 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=307030
Log:
- slightly cleaner
Changed paths:
U php/php-src/trunk/ext/gd/gd_ctx.c
Modified: php/php-src/trunk/ext/gd/gd_ctx.c
===================================================================
--- php/php-src/trunk/ext/gd/gd_ctx.c 2011-01-03 15:35:01 UTC (rev 307029)
+++ php/php-src/trunk/ext/gd/gd_ctx.c 2011-01-03 15:36:39 UTC (rev 307030)
@@ -118,7 +118,7 @@
}
}
- if (argc > 1 && to_zval) {
+ if (argc > 1 && to_zval != NULL) {
if (Z_TYPE_P(to_zval) == IS_RESOURCE) {
php_stream_from_zval_no_verify(stream, &to_zval);
if (stream == NULL) {