diff options
author | Determinant <ted.sybil@gmail.com> | 2016-02-24 17:26:45 +0800 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2016-02-24 17:26:45 +0800 |
commit | 550680eacd00555817df19d2b59a20a92df77c42 (patch) | |
tree | be9e39e2115fa95e99e32791898ba5593ca3b23f /nerv/lib/common.c | |
parent | e91fc2ddaa74dd2c46ce93c9e92020d66c037c8e (diff) |
clean up code
Diffstat (limited to 'nerv/lib/common.c')
-rw-r--r-- | nerv/lib/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nerv/lib/common.c b/nerv/lib/common.c index 879ae9d..7fd2331 100644 --- a/nerv/lib/common.c +++ b/nerv/lib/common.c @@ -4,7 +4,7 @@ int nerv_error(lua_State *L, const char *err_mesg_fmt, ...) { va_list ap; va_start(ap, err_mesg_fmt); lua_pushstring(L, "[nerv] internal error: "); - lua_pushvfstring(L, err_mesg_fmt, ap); + lua_pushvfstring(L, err_mesg_fmt, ap); lua_concat(L, 2); lua_error(L); va_end(ap); |