cvs: php4(PHP_4_3) /ext/gd/libgd gdtestft.c
| From: | Stefan Esser | Date: | Thu, 06 Mar 2003 20:59:28 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/gd/libgd gdtestft.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19423@lists.php.net to get a copy of this message | ||
sesser Thu Mar 6 15:59:28 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/gd/libgd gdtestft.c
Log:
MFH
Index: php4/ext/gd/libgd/gdtestft.c
diff -u php4/ext/gd/libgd/gdtestft.c:1.1 php4/ext/gd/libgd/gdtestft.c:1.1.4.1
--- php4/ext/gd/libgd/gdtestft.c:1.1 Fri Apr 12 22:03:09 2002
+++ php4/ext/gd/libgd/gdtestft.c Thu Mar 6 15:59:27 2003
@@ -60,7 +60,7 @@
err = gdImageStringFT ((gdImagePtr) NULL, &brect[0], 0, f, sz, angle, 0, 0, s);
if (err)
{
- fprintf (stderr, err);
+ fprintf (stderr, "%s", err);
return 1;
}
@@ -87,7 +87,7 @@
err = gdImageStringFT (im, NULL, black, f, sz, angle, x, y, s);
if (err)
{
- fprintf (stderr, err);
+ fprintf (stderr, "%s", err);
return 1;
}
/* TBB: Write img to test/fttest.png */