diff options
Diffstat (limited to 'lbaselib.c')
-rw-r--r-- | lbaselib.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lbaselib.c,v 1.303 2014/10/17 19:17:55 roberto Exp roberto $ | 2 | ** $Id: lbaselib.c,v 1.304 2014/10/25 11:50:46 roberto Exp roberto $ |
3 | ** Basic library | 3 | ** Basic library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -33,11 +33,11 @@ static int luaB_print (lua_State *L) { | |||
33 | s = lua_tolstring(L, -1, &l); /* get result */ | 33 | s = lua_tolstring(L, -1, &l); /* get result */ |
34 | if (s == NULL) | 34 | if (s == NULL) |
35 | return luaL_error(L, "'tostring' must return a string to 'print'"); | 35 | return luaL_error(L, "'tostring' must return a string to 'print'"); |
36 | if (i>1) luai_writestring("\t", 1); | 36 | if (i>1) lua_writestring("\t", 1); |
37 | luai_writestring(s, l); | 37 | lua_writestring(s, l); |
38 | lua_pop(L, 1); /* pop result */ | 38 | lua_pop(L, 1); /* pop result */ |
39 | } | 39 | } |
40 | luai_writeline(); | 40 | lua_writeline(); |
41 | return 0; | 41 | return 0; |
42 | } | 42 | } |
43 | 43 | ||