diff options
Diffstat (limited to 'lib/BLua.cc')
-rw-r--r-- | lib/BLua.cc | 4 |
1 files 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 <stdlib.h> #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 */ } |