aboutsummaryrefslogtreecommitdiff
path: root/lbaselib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lbaselib.c')
-rw-r--r--lbaselib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lbaselib.c b/lbaselib.c
index f82ac840..fcd6d4a9 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbaselib.c,v 1.212 2009/03/13 15:50:03 roberto Exp roberto $ 2** $Id: lbaselib.c,v 1.213 2009/03/16 16:30:50 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*/
@@ -358,7 +358,7 @@ static int luaB_dofile (lua_State *L) {
358 const char *fname = luaL_optstring(L, 1, NULL); 358 const char *fname = luaL_optstring(L, 1, NULL);
359 lua_settop(L, 1); 359 lua_settop(L, 1);
360 if (luaL_loadfile(L, fname) != LUA_OK) lua_error(L); 360 if (luaL_loadfile(L, fname) != LUA_OK) lua_error(L);
361 lua_callcont(L, 0, LUA_MULTRET, dofilecont); 361 lua_callk(L, 0, LUA_MULTRET, 0, dofilecont);
362 return dofilecont(L); 362 return dofilecont(L);
363} 363}
364 364