From 8db810406263b5ad8860c8c82677208a0cd30b07 Mon Sep 17 00:00:00 2001 From: pixel Date: Tue, 15 Jan 2008 17:01:03 +0000 Subject: Fixing one small printer bug. --- lib/BLua.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/BLua.cc b/lib/BLua.cc index 1020e33..aab4578 100644 --- a/lib/BLua.cc +++ b/lib/BLua.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: BLua.cc,v 1.55 2008-01-06 15:51:07 pixel Exp $ */ +/* $Id: BLua.cc,v 1.56 2008-01-15 17:01:03 pixel Exp $ */ #include #include "BLua.h" @@ -335,7 +335,7 @@ int LuaStatics::print(lua_State * _L) { s = lua_tostring(_L, i); /* get result */ if (s == NULL) L->error("`tostring' must return a string to `print'"); - if (i > 1) fputs("\t", stdout); + if (i > 1) L->puts("\t"); L->puts(s); L->pop(); /* pop result */ } -- cgit v1.2.3