aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lbaselib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lbaselib.c b/lbaselib.c
index 56f927e5..ee102e36 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbaselib.c,v 1.4 2000/09/13 19:52:39 roberto Exp roberto $ 2** $Id: lbaselib.c,v 1.5 2000/09/14 14:09:31 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*/
@@ -224,7 +224,7 @@ static int luaB_next (lua_State *L) {
224 224
225static int passresults (lua_State *L, int status, int oldtop) { 225static int passresults (lua_State *L, int status, int oldtop) {
226 static const char *const errornames[] = 226 static const char *const errornames[] =
227 {"OK", "RUN-TIME ERROR", "FILE ERROR", "SYNTAX ERROR", "MEMORY ERROR"}; 227 {"ok", "run-time error", "file error", "syntax error", "memory error"};
228 if (status == 0) { 228 if (status == 0) {
229 int nresults = lua_gettop(L) - oldtop; 229 int nresults = lua_gettop(L) - oldtop;
230 if (nresults > 0) 230 if (nresults > 0)