summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-10-16 20:21:14 +0000
committerrubidium <rubidium@openttd.org>2012-10-16 20:21:14 +0000
commit66ee5802060dfb87a4cf09ff21a1be11e6593f6e (patch)
tree5a5f6485dba2cfb4ee8ed5cce19847614f993ec0 /src
parenta9dbfe98f914856353fe229e8cff8c40fa0ba395 (diff)
downloadopenttd-66ee5802060dfb87a4cf09ff21a1be11e6593f6e.tar.xz
(svn r24597) -Fix [FS#5336]: when fontconfig is not available, the bootstrap download crashed
Diffstat (limited to 'src')
-rw-r--r--src/bootstrap_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap_gui.cpp b/src/bootstrap_gui.cpp
index 2b3e231b2..a9459f967 100644
--- a/src/bootstrap_gui.cpp
+++ b/src/bootstrap_gui.cpp
@@ -218,7 +218,7 @@ bool HandleBootstrap()
if (BlitterFactoryBase::GetCurrentBlitter()->GetScreenDepth() == 0) goto failure;
/* If there is no network or no freetype, then there is nothing we can do. Go straight to failure. */
-#if defined(ENABLE_NETWORK) && defined(WITH_FREETYPE) && !defined(__APPLE__)
+#if defined(ENABLE_NETWORK) && defined(WITH_FREETYPE) && !defined(__APPLE__) && (defined(WITH_FONTCONFIG) || defined(WIN32))
if (!_network_available) goto failure;
/* First tell the game we're bootstrapping. */