summaryrefslogtreecommitdiff
path: root/src/lua5/im_fftw.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua5/im_fftw.lua')
-rw-r--r--src/lua5/im_fftw.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua5/im_fftw.lua b/src/lua5/im_fftw.lua
index 7bae53e..584cd9f 100644
--- a/src/lua5/im_fftw.lua
+++ b/src/lua5/im_fftw.lua
@@ -15,7 +15,7 @@ local function OneSourceOneDest (funcname, width, height, color_space, data_type
local dst_image = im.ImageCreateBased(src_image, width, height, color_space, data_type)
-- call previous method, repassing all parameters
- local ret = func(src_image, dst_image, unpack(arg))
+ local ret = func(src_image, dst_image, ...)
if (ret) then
return ret, dst_image
else
@@ -40,7 +40,7 @@ local function TwoSourcesOneDest (funcname, width, height, color_space, data_typ
local dst_image = im.ImageCreateBased(src_image1, width, height, color_space, data_type)
-- call previous method, repassing all parameters
- local ret = func(src_image1, src_image2, dst_image, unpack(arg))
+ local ret = func(src_image1, src_image2, dst_image, ...)
if (ret) then
return ret, dst_image
else