aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2016-10-03 15:55:15 +0200
committerest31 <MTest31@outlook.com>2016-10-03 15:55:47 +0200
commitfcfa418c4cb5c3490413dd345e5e4b998cb7a4c3 (patch)
treea8b2c571980104a137ef3b9bcdf53b48f2993c6e
parent89dbc0a25d4e38d706f0fd3d604d4ac5ce57d240 (diff)
downloadminetest-fcfa418c4cb5c3490413dd345e5e4b998cb7a4c3.tar.gz
minetest-fcfa418c4cb5c3490413dd345e5e4b998cb7a4c3.tar.bz2
minetest-fcfa418c4cb5c3490413dd345e5e4b998cb7a4c3.zip
Fix build/warning on non X11 platforms
-rw-r--r--src/porting.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/porting.cpp b/src/porting.cpp
index f0337b610..023f0cca7 100644
--- a/src/porting.cpp
+++ b/src/porting.cpp
@@ -627,6 +627,7 @@ bool setXorgWindowIcon(IrrlichtDevice *device)
setXorgWindowIconFromPath(device,
path_share + "/misc/" PROJECT_NAME "-xorg-icon-128.png");
# endif
+#else
return false;
#endif
}