diff options
author | chai <chaifix@163.com> | 2018-09-09 18:03:05 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-09-09 18:03:05 +0800 |
commit | e3ddc74a36e4336d28e9e09586b5194c2e6e6dc6 (patch) | |
tree | 979992cd174fe5b488b58ffc831c6d7a67491fd4 /src/lua/common/error.h | |
parent | 090bd8229421073305e5e202ac3347e95bbea36d (diff) |
*update
Diffstat (limited to 'src/lua/common/error.h')
-rw-r--r-- | src/lua/common/error.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |