about summary refs log tree commit diff
path: root/src/game/localization.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/localization.cpp')
-rw-r--r--src/game/localization.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/game/localization.cpp b/src/game/localization.cpp
index 69896300..8ab8831d 100644
--- a/src/game/localization.cpp
+++ b/src/game/localization.cpp
@@ -53,16 +53,16 @@ bool CLocalizationDatabase::Load(const char *pFilename, IStorage *pStorage, ICon
 		m_CurrentVersion = 0;
 		return true;
 	}
-	
+
 	IOHANDLE IoHandle = pStorage->OpenFile(pFilename, IOFLAG_READ, IStorage::TYPE_ALL);
 	if(!IoHandle)
 		return false;
-	
+
 	char aBuf[256];
 	str_format(aBuf, sizeof(aBuf), "loaded '%s'", pFilename);
 	pConsole->Print(IConsole::OUTPUT_LEVEL_ADDINFO, "localization", aBuf);
 	m_Strings.clear();
-	
+
 	char aOrigin[512];
 	CLineReader LineReader;
 	LineReader.Init(IoHandle);
@@ -71,10 +71,10 @@ bool CLocalizationDatabase::Load(const char *pFilename, IStorage *pStorage, ICon
 	{
 		if(!str_length(pLine))
 			continue;
-			
+
 		if(pLine[0] == '#') // skip comments
 			continue;
-			
+
 		str_copy(aOrigin, pLine, sizeof(aOrigin));
 		char *pReplacement = LineReader.Get();
 		if(!pReplacement)
@@ -82,7 +82,7 @@ bool CLocalizationDatabase::Load(const char *pFilename, IStorage *pStorage, ICon
 			pConsole->Print(IConsole::OUTPUT_LEVEL_ADDINFO, "localization", "unexpected end of file");
 			break;
 		}
-		
+
 		if(pReplacement[0] != '=' || pReplacement[1] != '=' || pReplacement[2] != ' ')
 		{
 			str_format(aBuf, sizeof(aBuf), "malform replacement line for '%s'", aOrigin);
@@ -94,7 +94,7 @@ bool CLocalizationDatabase::Load(const char *pFilename, IStorage *pStorage, ICon
 		AddString(aOrigin, pReplacement);
 	}
 	io_close(IoHandle);
-	
+
 	m_CurrentVersion = ++m_VersionCounter;
 	return true;
 }