From 5d0da713f644f05f95448e3946ac2284c1038421 Mon Sep 17 00:00:00 2001 From: scuri Date: Sun, 21 Mar 2010 22:25:22 +0000 Subject: *** empty log message *** --- html/en/history.html | 3 +++ src/lua5/imlua_process.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/html/en/history.html b/html/en/history.html index 8ef2253..c69603d 100644 --- a/html/en/history.html +++ b/html/en/history.html @@ -17,6 +17,9 @@
  • Fixed: invalid memory access in imProcessResize when one dimension is equal to the original.
  • +
  • Fixed: imProcessCompose parameter + parsing in Lua.
  • Version 3.6 (26/Jan/2010)

    diff --git a/src/lua5/imlua_process.c b/src/lua5/imlua_process.c index 299155a..03e4548 100644 --- a/src/lua5/imlua_process.c +++ b/src/lua5/imlua_process.c @@ -2,7 +2,7 @@ * \brief IM Lua 5 Binding * * See Copyright Notice in im_lib.h - * $Id: imlua_process.c,v 1.10 2010/01/08 03:49:05 scuri Exp $ + * $Id: imlua_process.c,v 1.11 2010/03/21 22:29:10 scuri Exp $ */ #include @@ -1709,7 +1709,7 @@ static int imluaProcessCompose(lua_State *L) { imImage *src_image1 = imlua_checkimage(L, 1); imImage *src_image2 = imlua_checkimage(L, 2); - imImage *dst_image = imlua_checkimage(L, 4); + imImage *dst_image = imlua_checkimage(L, 3); imlua_match(L, src_image1, src_image2); imlua_match(L, src_image1, dst_image); -- cgit v1.2.3