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 4dc8ef80..6ba4f527 100644
--- a/liolib.c
+++ b/liolib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: liolib.c,v 1.82 2000/09/12 18:41:55 roberto Exp roberto $ 2** $Id: liolib.c,v 1.83 2000/09/13 20:12:14 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*/
@@ -654,7 +654,7 @@ static int errorfb (lua_State *L) {
654 lua_getglobal(L, LUA_ALERT); 654 lua_getglobal(L, LUA_ALERT);
655 if (lua_isfunction(L, -1)) { /* avoid loop if _ALERT is not defined */ 655 if (lua_isfunction(L, -1)) { /* avoid loop if _ALERT is not defined */
656 lua_pushvalue(L, -2); /* error message */ 656 lua_pushvalue(L, -2); /* error message */
657 lua_call(L, 1, 0); 657 lua_rawcall(L, 1, 0);
658 } 658 }
659 return 0; 659 return 0;
660} 660}