summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2008-10-08 11:25:24 -0700
committerPixel <pixel@nobis-crew.org>2008-10-08 11:25:24 -0700
commit6dd0d83107ad9b5cfcf72b1eab55e1c8ffdb34aa (patch)
treeec4101407d1b3ec941c5cd3292eb5c70d5c2fa12
parent691aa723838e2fd00a22a6fb412f8c083d6f535a (diff)
Adapting ourselves to the new behavior of LuaPrinter.
-rw-r--r--src/lua-interface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua-interface.cpp b/src/lua-interface.cpp
index bab642b..6f48bbb 100644
--- a/src/lua-interface.cpp
+++ b/src/lua-interface.cpp
@@ -221,7 +221,7 @@ class threaded_Lua : public Lua {
class LuaStderrPrinter : public LuaPrinter {
public:
LuaStderrPrinter() { }
- virtual void puts(const char * msg) { fputs(msg, stderr); }
+ virtual void puts(const char * msg) { fputs(msg, stderr); fputs("\n", stderr); }
};
LuaStderrPrinter lp_stderr;