diff options
author | Craig Robbins <kde.psych@gmail.com> | 2015-03-29 22:08:14 +1000 |
---|---|---|
committer | Craig Robbins <kde.psych@gmail.com> | 2015-03-29 22:08:14 +1000 |
commit | 34101015b20105040f22b204f2aba2070fca5dae (patch) | |
tree | b6c19abb99c9e386973a25f5ee2cecfbf62643a6 /src/script/lua_api | |
parent | e3d69f2920539e2fdecf9d6ce948e7b1b1da998a (diff) | |
download | minetest-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.cpp | 2 |
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); |