diff options
-rw-r--r-- | html/en/history.html | 3 | ||||
-rw-r--r-- | 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 @@ <li dir="ltr"><span style="color: #008000"><span style="color: #ff0000">Fixed:</span><span style="color: #000000"> invalid memory access in <strong> imProcessResize</strong> when one dimension is equal to the original.</span></span></li> + <li dir="ltr"><span style="color: #008000"><span style="color: #ff0000">Fixed:</span><span + style="color: #000000"> <strong>imProcessCompose</strong> parameter + parsing in Lua.</span></span></li> </ul> <h3 dir="ltr"> <a href="http://sourceforge.net/projects/imtoolkit/files/3.6/">Version 3.6</a> (26/Jan/2010)</h3> 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 <memory.h> @@ -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); |