summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpixel <pixel>2008-01-15 17:01:03 +0000
committerpixel <pixel>2008-01-15 17:01:03 +0000
commit8db810406263b5ad8860c8c82677208a0cd30b07 (patch)
tree9e51cfcaaa341665ff3009e48838f3ce420cd46a /lib
parent35b1e76b1684b877b34fdb2cb88378b299c9a515 (diff)
Fixing one small printer bug.
Diffstat (limited to 'lib')
-rw-r--r--lib/BLua.cc4
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 */
}