From 34f4dcea9afc19dcaf929b0ef4170a6b6940ab42 Mon Sep 17 00:00:00 2001 From: scuri Date: Sun, 18 Jul 2010 03:04:23 +0000 Subject: *** empty log message *** --- src/lua5/imlua_image.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lua5/imlua_image.c') diff --git a/src/lua5/imlua_image.c b/src/lua5/imlua_image.c index f3c8855..5f84b97 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.11 2010/06/07 20:59:32 scuri Exp $ + * $Id: imlua_image.c,v 1.12 2010/07/18 03:04:23 scuri Exp $ */ #include @@ -444,7 +444,7 @@ static int imluaImageGetAttributeList (lua_State *L) imImageGetAttributeList(image, attrib, &attrib_count); - lua_newtable(L); + lua_createtable(L, attrib_count, 0); for (i = 0; i < attrib_count; i++) { lua_pushstring(L, attrib[i]); -- cgit v1.2.3