aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hex.c b/hex.c
index 5289bc5..be744c1 100644
--- a/hex.c
+++ b/hex.c
@@ -911,7 +911,7 @@ app_lua_chunk_len (lua_State *L)
{
struct app_lua_chunk *self = luaL_checkudata (L, 1, XLUA_CHUNK_METATABLE);
lua_pushinteger (L, self->len);
- return 0;
+ return 1;
}
/// Create a new subchunk following Lua's string.sub() semantics.