From b77a90681ed28ba11384ed7ad7c93ef2a1c9b7b7 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 30 May 2012 09:33:44 -0300 Subject: typos in comments --- loadlib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'loadlib.c') diff --git a/loadlib.c b/loadlib.c index 49b986de..2ed2c855 100644 --- a/loadlib.c +++ b/loadlib.c @@ -1,5 +1,5 @@ /* -** $Id: loadlib.c,v 1.109 2012/04/11 16:35:32 roberto Exp roberto $ +** $Id: loadlib.c,v 1.110 2012/04/26 19:38:52 roberto Exp roberto $ ** Dynamic library loader for Lua ** See Copyright Notice in lua.h ** @@ -482,9 +482,9 @@ static void findloader (lua_State *L, const char *name) { lua_getfield(L, lua_upvalueindex(1), "searchers"); /* will be at index 3 */ if (!lua_istable(L, 3)) luaL_error(L, LUA_QL("package.searchers") " must be a table"); - /* iterate over available seachers to find a loader */ + /* iterate over available searchers to find a loader */ for (i = 1; ; i++) { - lua_rawgeti(L, 3, i); /* get a seacher */ + lua_rawgeti(L, 3, i); /* get a searcher */ if (lua_isnil(L, -1)) { /* no more searchers? */ lua_pop(L, 1); /* remove nil */ luaL_pushresult(&msg); /* create error message */ -- cgit v1.2.3-55-g6feb