From 9e0b6cc2b063749832f1bf49109989917e0a0226 Mon Sep 17 00:00:00 2001 From: scuri Date: Thu, 21 Jan 2010 18:24:22 +0000 Subject: Fixed: incomplete initialization of the array in imAnalyzeMeasureArea. --- src/lua5/imlua_aux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lua5') diff --git a/src/lua5/imlua_aux.c b/src/lua5/imlua_aux.c index e472dca..b26df93 100644 --- a/src/lua5/imlua_aux.c +++ b/src/lua5/imlua_aux.c @@ -2,7 +2,7 @@ * \brief IM Lua 5 Binding * * See Copyright Notice in im_lib.h - * $Id: imlua_aux.c,v 1.2 2009/08/04 21:35:26 scuri Exp $ + * $Id: imlua_aux.c,v 1.3 2010/01/21 18:24:22 scuri Exp $ */ #include @@ -46,7 +46,7 @@ int imlua_newarrayint (lua_State *L, int *value, int count, int start) lua_newtable(L); for (i = 0; i < count; i++) { - lua_pushnumber(L, value[i]); + lua_pushinteger(L, value[i]); lua_rawseti(L, -2, i+start); } return 1; -- cgit v1.2.3