Changeset - r19666:c5b928c1a182
[Not reviewed]
master
0 1 0
rubidium - 12 years ago 2012-10-16 20:21:14
rubidium@openttd.org
(svn r24597) -Fix [FS#5336]: when fontconfig is not available, the bootstrap download crashed
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/bootstrap_gui.cpp
Show inline comments
 
@@ -215,13 +215,13 @@ bool HandleBootstrap()
 
	if (BaseGraphics::GetUsedSet() != NULL) return true;
 

	
 
	/* No user interface, bail out with an error. */
 
	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. */
 
	_game_mode = GM_BOOTSTRAP;
 

	
 
	/* Initialise the freetype font code. */
0 comments (0 inline, 0 general)