aboutsummaryrefslogtreecommitdiff
path: root/loslib.c
diff options
context:
space:
mode:
Diffstat (limited to 'loslib.c')
-rw-r--r--loslib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loslib.c b/loslib.c
index 0522a512..b043f679 100644
--- a/loslib.c
+++ b/loslib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: loslib.c,v 1.58 2015/07/04 16:35:14 roberto Exp roberto $ 2** $Id: loslib.c,v 1.59 2015/07/06 15:16:51 roberto Exp roberto $
3** Standard Operating System library 3** Standard Operating System library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -215,7 +215,7 @@ static int getfield (lua_State *L, const char *key, int d, int delta) {
215 if (!isnum) { /* field is not a number? */ 215 if (!isnum) { /* field is not a number? */
216 if (t != LUA_TNIL) /* some other value? */ 216 if (t != LUA_TNIL) /* some other value? */
217 return luaL_error(L, "field '%s' not an integer", key); 217 return luaL_error(L, "field '%s' not an integer", key);
218 else if (d < 0) /* abssent field; no default? */ 218 else if (d < 0) /* absent field; no default? */
219 return luaL_error(L, "field '%s' missing in date table", key); 219 return luaL_error(L, "field '%s' missing in date table", key);
220 res = d; 220 res = d;
221 } 221 }