Missed files in r1241.

This commit is contained in:
Birunthan Mohanathas
2012-03-09 13:24:07 +00:00
parent e196ac08db
commit e2a736ed83
3 changed files with 1 additions and 10 deletions

View File

@ -43,8 +43,7 @@ void LuaManager::Initialize()
{ NULL, NULL }
};
const luaL_Reg* lib = lualibs;
for (; lib->func; lib++)
for (const luaL_Reg* lib = lualibs; lib->func; ++lib)
{
lua_pushcfunction(c_State, lib->func);
lua_pushstring(c_State, lib->name);