aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api
diff options
context:
space:
mode:
authorCraig Robbins <kde.psych@gmail.com>2015-03-29 22:08:14 +1000
committerCraig Robbins <kde.psych@gmail.com>2015-03-29 22:08:14 +1000
commit34101015b20105040f22b204f2aba2070fca5dae (patch)
treeb6c19abb99c9e386973a25f5ee2cecfbf62643a6 /src/script/lua_api
parente3d69f2920539e2fdecf9d6ce948e7b1b1da998a (diff)
downloadminetest-34101015b20105040f22b204f2aba2070fca5dae.tar.gz
minetest-34101015b20105040f22b204f2aba2070fca5dae.tar.bz2
minetest-34101015b20105040f22b204f2aba2070fca5dae.zip
Fix typo
Diffstat (limited to 'src/script/lua_api')
-rw-r--r--src/script/lua_api/l_mainmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_mainmenu.cpp b/src/script/lua_api/l_mainmenu.cpp
index 22fc176bf..2ad6ba360 100644
--- a/src/script/lua_api/l_mainmenu.cpp
+++ b/src/script/lua_api/l_mainmenu.cpp
@@ -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);