diff options
-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; } |