summaryrefslogtreecommitdiff
path: root/ext/gd/libgd/gd_wbmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/libgd/gd_wbmp.c')
-rw-r--r--ext/gd/libgd/gd_wbmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gd/libgd/gd_wbmp.c b/ext/gd/libgd/gd_wbmp.c
index 5389695e28..b81eed80e7 100644
--- a/ext/gd/libgd/gd_wbmp.c
+++ b/ext/gd/libgd/gd_wbmp.c
@@ -98,7 +98,7 @@ void gdImageWBMPCtx (gdImagePtr image, int fg, gdIOCtx * out)
/* create the WBMP */
if ((wbmp = createwbmp (gdImageSX (image), gdImageSY (image), WBMP_WHITE)) == NULL) {
- php_gd_error("Could not create WBMP\n");
+ php_gd_error("Could not create WBMP");
}
/* fill up the WBMP structure */
@@ -114,7 +114,7 @@ void gdImageWBMPCtx (gdImagePtr image, int fg, gdIOCtx * out)
/* write the WBMP to a gd file descriptor */
if (writewbmp (wbmp, &gd_putout, out)) {
- php_gd_error("Could not save WBMP\n");
+ php_gd_error("Could not save WBMP");
}
/* des submitted this bugfix: gdFree the memory. */
freewbmp(wbmp);