diff options
Diffstat (limited to 'helpers.lua')
-rw-r--r-- | helpers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers.lua b/helpers.lua index 5f54521..69ab83c 100644 --- a/helpers.lua +++ b/helpers.lua @@ -43,7 +43,7 @@ end --{{{ Truncate a string function truncate(text, maxlen) - txtlen = text:len() + local txtlen = text:len() if txtlen > maxlen then text = text:sub(1, maxlen - 3) .. "..." |