fix getFile() usage

This commit is contained in:
Josh Holtrop 2011-05-19 16:46:24 -04:00
parent 8028654ff2
commit b4cacbd05d

View File

@ -86,7 +86,7 @@ namespace ag
}; };
luaL_register(L, "ag", functions); luaL_register(L, "ag", functions);
luaL_loadstring(L, (const char *) getFile("src/ag.lua")); luaL_loadstring(L, (const char *) getFile("src/ag.lua", NULL));
lua_pcall(L, 0, 0, 0); lua_pcall(L, 0, 0, 0);
} }