From e3ddc74a36e4336d28e9e09586b5194c2e6e6dc6 Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 9 Sep 2018 18:03:05 +0800 Subject: *update --- src/lua/common/error.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lua/common/error.h') diff --git a/src/lua/common/error.h b/src/lua/common/error.h index f8b62f2..2b2c176 100644 --- a/src/lua/common/error.h +++ b/src/lua/common/error.h @@ -19,7 +19,7 @@ namespace lua vsnprintf(err + strlen(err), FORMAT_MSG_BUFFER_SIZE, fmt, args); va_end(args); luax_getglobal(L, MODULE_NAME); - luax_setfield_string(L, "error", err); + luax_setfieldstring(L, "error", err); } } -- cgit v1.1-26-g67d0