This commit is contained in:
Craig Robbins 2015-03-29 22:08:14 +10:00
parent e3d69f2920
commit 34101015b2
1 changed files with 1 additions and 1 deletions

View File

@ -840,7 +840,7 @@ int ModApiMainMenu::l_copy_dir(lua_State *L)
int ModApiMainMenu::l_extract_zip(lua_State *L) int ModApiMainMenu::l_extract_zip(lua_State *L)
{ {
GUIEngine* engine = getGuiEngine(L); GUIEngine* engine = getGuiEngine(L);
sanity_check(engine != NULL);(engine != 0); sanity_check(engine);
const char *zipfile = luaL_checkstring(L, 1); const char *zipfile = luaL_checkstring(L, 1);
const char *destination = luaL_checkstring(L, 2); const char *destination = luaL_checkstring(L, 2);