This commit is contained in:
GreYFoXGTi 2010-11-03 06:02:13 +02:00
commit fd59191e1e
2 changed files with 3 additions and 1 deletions

View file

@ -30,6 +30,7 @@ void CLocConstString::Reload()
CLocalizationDatabase::CLocalizationDatabase() CLocalizationDatabase::CLocalizationDatabase()
{ {
m_VersionCounter = 0;
m_CurrentVersion = 0; m_CurrentVersion = 0;
} }
@ -89,7 +90,7 @@ bool CLocalizationDatabase::Load(const char *pFilename, IStorage *pStorage, ICon
AddString(pLine, pReplacement); AddString(pLine, pReplacement);
} }
m_CurrentVersion++; m_CurrentVersion = ++m_VersionCounter;
return true; return true;
} }

View file

@ -19,6 +19,7 @@ class CLocalizationDatabase
}; };
sorted_array<CString> m_Strings; sorted_array<CString> m_Strings;
int m_VersionCounter;
int m_CurrentVersion; int m_CurrentVersion;
public: public: