aboutsummaryrefslogtreecommitdiff
path: root/nerv/lib/common.c
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2016-02-24 17:26:45 +0800
committerDeterminant <ted.sybil@gmail.com>2016-02-24 17:26:45 +0800
commit550680eacd00555817df19d2b59a20a92df77c42 (patch)
treebe9e39e2115fa95e99e32791898ba5593ca3b23f /nerv/lib/common.c
parente91fc2ddaa74dd2c46ce93c9e92020d66c037c8e (diff)
clean up code
Diffstat (limited to 'nerv/lib/common.c')
-rw-r--r--nerv/lib/common.c2
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);