diff options
author | scuri <scuri> | 2010-01-15 17:21:47 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-01-15 17:21:47 +0000 |
commit | 8b2047804cba012ffa63134d977f4ec025e840cd (patch) | |
tree | d9e2f51861a8abb1d9147ccaf4be34bbeea98fd7 /src/lua5/imlua_image.c | |
parent | 577670a7706bb70bf1a4c30fb0255045e5f8469c (diff) |
*** empty log message ***
Diffstat (limited to 'src/lua5/imlua_image.c')
-rw-r--r-- | src/lua5/imlua_image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua5/imlua_image.c b/src/lua5/imlua_image.c index dcb1647..77cc499 100644 --- a/src/lua5/imlua_image.c +++ b/src/lua5/imlua_image.c @@ -2,7 +2,7 @@ * \brief IM Lua 5 Binding * * See Copyright Notice in im_lib.h - * $Id: imlua_image.c,v 1.7 2010/01/06 20:16:29 scuri Exp $ + * $Id: imlua_image.c,v 1.8 2010/01/15 17:23:13 scuri Exp $ */ #include <string.h> @@ -177,7 +177,7 @@ static int imluaImageCopyPlane(lua_State *L) int dst_plane = luaL_checkint(L, 4); int src_depth, dst_depth; - imlua_match(L, src_image, dst_image); + imlua_matchdatatype(L, src_image, dst_image); src_depth = src_image->has_alpha? src_image->depth+1: src_image->depth; if (src_plane < 0 || src_plane >= src_depth) |