Skip to content

Commit

Permalink
Merge pull request #107 from koliva8245/turkish-issue
Browse files Browse the repository at this point in the history
Fixes issue with parsing in the Turkish locale
  • Loading branch information
barrett777 authored May 9, 2020
2 parents 3b157d8 + 9ed0bd2 commit 83638ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Heroes.ReplayParser/Foole.Mpq/MpqArchive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ internal static uint HashString(string input, int offset)

foreach(char c in input)
{
int val = (int)char.ToUpper(c);
int val = (int)char.ToUpperInvariant(c);
seed1 = sStormBuffer[offset + val] ^ (seed1 + seed2);
seed2 = (uint)val + seed1 + seed2 + (seed2 << 5) + 3;
}
Expand Down

0 comments on commit 83638ae

Please sign in to comment.