diff options
Diffstat (limited to 'crawl-ref/source/luaterp.cc')
-rw-r--r-- | crawl-ref/source/luaterp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/luaterp.cc b/crawl-ref/source/luaterp.cc index 6e6fcad3d6..8fb68448ec 100644 --- a/crawl-ref/source/luaterp.cc +++ b/crawl-ref/source/luaterp.cc @@ -71,7 +71,7 @@ static int _loadline(lua_State *ls) status = luaL_loadbuffer(ls, lua_tostring(ls, 1), lua_strlen(ls, 1), "=terp"); - if (!_incomplete(ls, status)) + if (!_incomplete(ls, status)) break; if (!_pushline(ls, 0)) return -1; @@ -120,7 +120,7 @@ void run_clua_interpreter(lua_State *ls) lua_insert(ls, 1); if (lua_pcall(ls, lua_gettop(ls) - 1, 0, 0) != 0) { - mprf(MSGCH_ERROR, "error calling __echo (%s)", + mprf(MSGCH_ERROR, "error calling __echo (%s)", lua_tostring(ls, -1)); } } |