From d9b624dbb8cff8236dc5d874417a4746536adabc Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Thu, 15 Nov 2012 08:16:08 +0000 Subject: [PATCH] - fixed spelling mistake in variable name --- source/glest_game/game/game_constants.h | 2 +- source/glest_game/global/config.cpp | 2 +- source/glest_game/main/main.cpp | 2 +- source/glest_game/menu/menu_state_masterserver.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/glest_game/game/game_constants.h b/source/glest_game/game/game_constants.h index c459ff5c..e4a88879 100644 --- a/source/glest_game/game/game_constants.h +++ b/source/glest_game/game/game_constants.h @@ -153,7 +153,7 @@ public: static const char *RANDOMFACTION_SLOTNAME; static const char *playerTextureCacheLookupKey; - static const char *ircClinetCacheLookupKey; + static const char *ircClientCacheLookupKey; static const char *factionPreviewTextureCacheLookupKey; static const char *characterMenuScreenPositionListCacheLookupKey; static const char *pathCacheLookupKey; diff --git a/source/glest_game/global/config.cpp b/source/glest_game/global/config.cpp index bcf31334..7334d071 100644 --- a/source/glest_game/global/config.cpp +++ b/source/glest_game/global/config.cpp @@ -50,7 +50,7 @@ const char *GameConstants::folder_path_screenshots = "screens/"; const char *GameConstants::OBSERVER_SLOTNAME = "*Observer*"; const char *GameConstants::RANDOMFACTION_SLOTNAME = "*Random*"; -const char *GameConstants::ircClinetCacheLookupKey = "ircClientCache"; +const char *GameConstants::ircClientCacheLookupKey = "ircClientCache"; const char *GameConstants::playerTextureCacheLookupKey = "playerTextureCache"; const char *GameConstants::factionPreviewTextureCacheLookupKey = "factionPreviewTextureCache"; const char *GameConstants::characterMenuScreenPositionListCacheLookupKey = "characterMenuScreenPositionListCache"; diff --git a/source/glest_game/main/main.cpp b/source/glest_game/main/main.cpp index 390f6071..89e62955 100644 --- a/source/glest_game/main/main.cpp +++ b/source/glest_game/main/main.cpp @@ -162,7 +162,7 @@ static void cleanupProcessObjects() { } if(SystemFlags::VERBOSE_MODE_ENABLED) printf("#1 IRCCLient Cache SHUTDOWN\n"); - IRCThread * &ircClient = CacheManager::getCachedItem< IRCThread * >(GameConstants::ircClinetCacheLookupKey); + IRCThread * &ircClient = CacheManager::getCachedItem< IRCThread * >(GameConstants::ircClientCacheLookupKey); if(ircClient != NULL) { if(SystemFlags::VERBOSE_MODE_ENABLED) printf("#2 IRCCLient Cache SHUTDOWN\n"); if(SystemFlags::getSystemSettingType(SystemFlags::debugSystem).enabled) SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",extractFileFromDirectoryPath(__FILE__).c_str(),__FUNCTION__,__LINE__); diff --git a/source/glest_game/menu/menu_state_masterserver.cpp b/source/glest_game/menu/menu_state_masterserver.cpp index 2dd35868..0268835a 100644 --- a/source/glest_game/menu/menu_state_masterserver.cpp +++ b/source/glest_game/menu/menu_state_masterserver.cpp @@ -307,7 +307,7 @@ MenuStateMasterserver::MenuStateMasterserver(Program *program, MainMenu *mainMen MutexSafeWrapper safeMutexIRCPtr(&mutexIRCClient,string(extractFileFromDirectoryPath(__FILE__).c_str()) + "_" + intToStr(__LINE__)); if(SystemFlags::VERBOSE_MODE_ENABLED) printf("#1 IRCCLient Cache check\n"); - IRCThread * &ircThread = CacheManager::getCachedItem< IRCThread * >(GameConstants::ircClinetCacheLookupKey); + IRCThread * &ircThread = CacheManager::getCachedItem< IRCThread * >(GameConstants::ircClientCacheLookupKey); if(ircThread == NULL) { if(SystemFlags::VERBOSE_MODE_ENABLED) printf("#2 IRCCLient Cache check\n"); ircThread = new IRCThread(ircArgs,this);