File diff r23482:de566f8c088d → r23483:3733e6b8ff17
src/strings.cpp
Show inline comments
 
@@ -35,9 +35,7 @@
 
#include "window_func.h"
 
#include "debug.h"
 
#include "game/game_text.hpp"
 
#ifdef ENABLE_NETWORK
 
#	include "network/network_content_gui.h"
 
#endif /* ENABLE_NETWORK */
 
#include "network/network_content_gui.h"
 
#include <stack>
 

	
 
#include "table/strings.h"
 
@@ -1681,11 +1679,7 @@ static char *GetSpecialNameString(char *
 
	NOT_REACHED();
 
}
 

	
 
#ifdef ENABLE_NETWORK
 
extern void SortNetworkLanguages();
 
#else /* ENABLE_NETWORK */
 
static inline void SortNetworkLanguages() {}
 
#endif /* ENABLE_NETWORK */
 

	
 
/**
 
 * Check whether the header is a valid header for OpenTTD.
 
@@ -1821,9 +1815,7 @@ bool ReadLanguagePack(const LanguageMeta
 
	SortIndustryTypes();
 
	BuildIndustriesLegend();
 
	SortNetworkLanguages();
 
#ifdef ENABLE_NETWORK
 
	BuildContentTypeStringList();
 
#endif /* ENABLE_NETWORK */
 
	InvalidateWindowClassesData(WC_BUILD_VEHICLE);      // Build vehicle window.
 
	InvalidateWindowClassesData(WC_TRAINS_LIST);        // Train group window.
 
	InvalidateWindowClassesData(WC_ROADVEH_LIST);       // Road vehicle group window.