From fd3eb2544a1c571718f44fef53cdb53d6d2c4f53 Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Fri, 18 May 2001 20:32:47 +0000 Subject: [PATCH] should be using the function here. --- ext/gd/gd_ctx.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ext/gd/gd_ctx.c b/ext/gd/gd_ctx.c index 74378885bc..c7a321cda8 100644 --- a/ext/gd/gd_ctx.c +++ b/ext/gd/gd_ctx.c @@ -1,3 +1,6 @@ +#include "php_gd.h" + + #define CTX_PUTC(c,ctx) ctx->putC(ctx, c) static void _php_image_output_putc(struct gdIOCtx *ctx, int c) @@ -34,7 +37,7 @@ static void _php_image_output_ctx(INTERNAL_FUNCTION_PARAMETERS, int image_type, WRONG_PARAM_COUNT; } - ZEND_FETCH_RESOURCE(im, gdImagePtr, imgind, -1, "Image", le_gd); + ZEND_FETCH_RESOURCE(im, gdImagePtr, imgind, -1, "Image", phpi_get_le_gd()); if (argc > 1) { convert_to_string_ex(file); -- 2.50.1