projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3d69f2
)
Fix typo
author
Craig Robbins
<kde.psych@gmail.com>
Sun, 29 Mar 2015 12:08:14 +0000
(22:08 +1000)
committer
Craig Robbins
<kde.psych@gmail.com>
Sun, 29 Mar 2015 12:08:14 +0000
(22:08 +1000)
src/script/lua_api/l_mainmenu.cpp
patch
|
blob
|
history
diff --git
a/src/script/lua_api/l_mainmenu.cpp
b/src/script/lua_api/l_mainmenu.cpp
index 22fc176bf89a08c2d7d760dc045d5229430fb7ad..2ad6ba360defba59cb8d5ab955dd12b3c523c6b4 100644
(file)
--- 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);