diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/lua-fun/fun.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/lua-fun/fun.lua b/contrib/lua-fun/fun.lua index e16fe07ae..2c712d306 100644 --- a/contrib/lua-fun/fun.lua +++ b/contrib/lua-fun/fun.lua @@ -96,7 +96,7 @@ local text_gen = function(param, state) if state > #param then return nil end - local r = string.char(param:at(state)) + local r = string.char(param:byte(state)) return state, r end |