aboutsummaryrefslogtreecommitdiff
path: root/loadlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'loadlib.c')
-rw-r--r--loadlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loadlib.c b/loadlib.c
index ed2adb5c..7a9b011f 100644
--- a/loadlib.c
+++ b/loadlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: loadlib.c,v 1.125 2015/01/13 13:18:04 roberto Exp roberto $ 2** $Id: loadlib.c,v 1.126 2015/02/16 13:14:33 roberto Exp roberto $
3** Dynamic library loader for Lua 3** Dynamic library loader for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5** 5**
@@ -732,7 +732,7 @@ static void createsearcherstable (lua_State *L) {
732 int i; 732 int i;
733 /* create 'searchers' table */ 733 /* create 'searchers' table */
734 lua_createtable(L, sizeof(searchers)/sizeof(searchers[0]) - 1, 0); 734 lua_createtable(L, sizeof(searchers)/sizeof(searchers[0]) - 1, 0);
735 /* fill it with pre-defined searchers */ 735 /* fill it with predefined searchers */
736 for (i=0; searchers[i] != NULL; i++) { 736 for (i=0; searchers[i] != NULL; i++) {
737 lua_pushvalue(L, -2); /* set 'package' as upvalue for all searchers */ 737 lua_pushvalue(L, -2); /* set 'package' as upvalue for all searchers */
738 lua_pushcclosure(L, searchers[i], 1); 738 lua_pushcclosure(L, searchers[i], 1);