Fix typo
authorCraig Robbins <kde.psych@gmail.com>
Sun, 29 Mar 2015 12:08:14 +0000 (22:08 +1000)
committerCraig Robbins <kde.psych@gmail.com>
Sun, 29 Mar 2015 12:08:14 +0000 (22:08 +1000)
src/script/lua_api/l_mainmenu.cpp

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