From b2f636ebb0665e733d91c70ed5250b1ae8d4a511 Mon Sep 17 00:00:00 2001 From: scuri Date: Wed, 19 Aug 2009 19:20:32 +0000 Subject: *** empty log message *** --- src/lua5/im_image.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lua5/im_image.lua') diff --git a/src/lua5/im_image.lua b/src/lua5/im_image.lua index 03e80f6..5eb9fd4 100644 --- a/src/lua5/im_image.lua +++ b/src/lua5/im_image.lua @@ -17,7 +17,7 @@ function im.ImageCreateBased(image, width, height, color_space, data_type) if type(data_type) == "function" then data_type = data_type(image) end -- create a new image - new_image = im.ImageCreate(width, height, color_space, data_type) + local new_image = im.ImageCreate(width, height, color_space, data_type) image:CopyAttributes(new_image) if (image:HasAlpha()) then new_image:AddAlpha() end return new_image -- cgit v1.2.3