From 6dd0d83107ad9b5cfcf72b1eab55e1c8ffdb34aa Mon Sep 17 00:00:00 2001 From: Pixel Date: Wed, 8 Oct 2008 11:25:24 -0700 Subject: Adapting ourselves to the new behavior of LuaPrinter. --- src/lua-interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lua-interface.cpp') 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; -- cgit v1.2.3