From 29106a1132efd9a69b97f9e0e2d9a9a747af1d15 Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Mon, 2 Apr 2001 10:10:42 +0000 Subject: [PATCH] fixed the problem with 2 references to the one i_color object after a call to ICL_set_internal. at least I think so. --- Imager.xs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Imager.xs b/Imager.xs index 87272aed..1cf62b08 100644 --- a/Imager.xs +++ b/Imager.xs @@ -421,14 +421,16 @@ ICL_DESTROY(cl) Imager::Color cl -Imager::Color +void ICL_set_internal(cl,r,g,b,a) Imager::Color cl unsigned char r unsigned char g unsigned char b unsigned char a - + PPCODE: + EXTEND(SP, 1); + PUSHs(ST(0)); void ICL_info(cl) -- 2.39.5