diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2018-01-07 05:50:21 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2018-01-08 22:16:06 +0100 |
commit | 868e34d15cf17d8ebf761faffa9669ff77ed62ee (patch) | |
tree | fae7d9809ff802a97c5df76da68a737b488a0d26 /degesch.c | |
parent | dc47b16034df32a1a04b0322f1cc51c055986099 (diff) | |
download | xK-868e34d15cf17d8ebf761faffa9669ff77ed62ee.tar.gz xK-868e34d15cf17d8ebf761faffa9669ff77ed62ee.tar.xz xK-868e34d15cf17d8ebf761faffa9669ff77ed62ee.zip |
degesch: fix a Lua error message
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8401,7 +8401,7 @@ lua_plugin_check_utf8 (lua_State *L, int arg) { size_t len; const char *s = luaL_checklstring (L, arg, &len); - luaL_argcheck (L, utf8_validate (s, len), 1, "must be valid UTF-8"); + luaL_argcheck (L, utf8_validate (s, len), arg, "must be valid UTF-8"); return s; } |