aboutsummaryrefslogtreecommitdiff
path: root/liolib.c
diff options
context:
space:
mode:
Diffstat (limited to 'liolib.c')
-rw-r--r--liolib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/liolib.c b/liolib.c
index dda79529..d38dfe1f 100644
--- a/liolib.c
+++ b/liolib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: liolib.c,v 1.112 2001/04/23 16:35:45 roberto Exp roberto $ 2** $Id: liolib.c,v 1.113 2001/06/06 18:00:19 roberto Exp roberto $
3** Standard I/O (and system) library 3** Standard I/O (and system) library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -58,7 +58,7 @@ static const l_char *const basicfiles[] = {l_s("_STDIN"), l_s("_STDOUT")};
58 58
59static int pushresult (lua_State *L, int i) { 59static int pushresult (lua_State *L, int i) {
60 if (i) { 60 if (i) {
61 lua_newuserdatabox(L, NULL); 61 lua_pushnumber(L, 1);
62 return 1; 62 return 1;
63 } 63 }
64 else { 64 else {