summaryrefslogtreecommitdiff
path: root/lib/BLua.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/BLua.cc')
-rw-r--r--lib/BLua.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/BLua.cc b/lib/BLua.cc
index 6731a6e..270e952 100644
--- a/lib/BLua.cc
+++ b/lib/BLua.cc
@@ -31,6 +31,7 @@
void LuaPrinter::puts(const char * msg) {
fputs(msg, stdout);
+ fputs("\n", stdout);
}
LuaPrinter default_lua_printer;
@@ -340,7 +341,6 @@ int LuaStatics::print(lua_State * _L) {
L->puts(s);
L->pop(); /* pop result */
}
- L->puts("\n");
return 0;
}