summaryrefslogtreecommitdiff
path: root/ext/gd
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd')
-rw-r--r--ext/gd/libgd/gd_xbm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/libgd/gd_xbm.c b/ext/gd/libgd/gd_xbm.c
index 70d9b41057..dae2e62152 100644
--- a/ext/gd/libgd/gd_xbm.c
+++ b/ext/gd/libgd/gd_xbm.c
@@ -137,7 +137,7 @@ gdImagePtr gdImageCreateFromXbm(FILE * fd)
h[3] = ch;
}
if (sscanf(h, "%x", &b) != 1) {
- php_gd_error("invalid XBM");
+ gd_error("invalid XBM");
gdImageDestroy(im);
return 0;
}