diff options
author | scuri <scuri> | 2009-08-19 19:20:32 +0000 |
---|---|---|
committer | scuri <scuri> | 2009-08-19 19:20:32 +0000 |
commit | b2f636ebb0665e733d91c70ed5250b1ae8d4a511 (patch) | |
tree | d3f4a4026cf59eafccc3805c8de3b918d58c259d /src/lua5 | |
parent | 43522c5f2a12dc0cf3cda733e4fb5c04cd62a154 (diff) |
*** empty log message ***
Diffstat (limited to 'src/lua5')
-rw-r--r-- | src/lua5/im_image.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |