Fix build/warning on non X11 platforms
authorest31 <MTest31@outlook.com>
Mon, 3 Oct 2016 13:55:15 +0000 (15:55 +0200)
committerest31 <MTest31@outlook.com>
Mon, 3 Oct 2016 13:55:47 +0000 (15:55 +0200)
src/porting.cpp

index f0337b6102f2cbb3d90fb22a1627f1f8ce497ac4..023f0cca7d431d20377ee65564eec7a4d661c528 100644 (file)
@@ -627,6 +627,7 @@ bool setXorgWindowIcon(IrrlichtDevice *device)
                setXorgWindowIconFromPath(device,
                        path_share + "/misc/" PROJECT_NAME "-xorg-icon-128.png");
 #      endif
+#else
        return false;
 #endif
 }