Rebuild index if language has changed

This commit is contained in:
Ted John 2017-08-30 19:32:28 +01:00
parent ed8483f5c3
commit a118b09e79
1 changed files with 1 additions and 0 deletions

View File

@ -195,6 +195,7 @@ private:
if (header.MagicNumber == _magicNumber &&
header.VersionA == FILE_INDEX_VERSION &&
header.VersionB == _version &&
header.LanguageId == gCurrentLanguage &&
header.Stats.TotalFiles == stats.TotalFiles &&
header.Stats.TotalFileSize == stats.TotalFileSize &&
header.Stats.FileDateModifiedChecksum == stats.FileDateModifiedChecksum &&