diff options
Diffstat (limited to 'source/luametatex/source/luaoptional/lmtgraphicsmagick.c')
-rw-r--r-- | source/luametatex/source/luaoptional/lmtgraphicsmagick.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/luametatex/source/luaoptional/lmtgraphicsmagick.c b/source/luametatex/source/luaoptional/lmtgraphicsmagick.c index c71c68c8c..51b30a745 100644 --- a/source/luametatex/source/luaoptional/lmtgraphicsmagick.c +++ b/source/luametatex/source/luaoptional/lmtgraphicsmagick.c @@ -147,7 +147,7 @@ static int gmlib_execute(lua_State * L) } if (lua_getfield(L, -1, "noise" ) == LUA_TTABLE) { lua_getfield(L, -1, "type"); - gmlib_state.gm_MagickAddNoiseImage(wand, lua_tointeger(L, -1)); + gmlib_state.gm_MagickAddNoiseImage(wand, lmt_tointeger(L, -1)); lua_pop(L, 2); } else { lua_pop(L, 1); |