Skip to content

Commit

Permalink
Fixes issue with parsing in the Turkish locale
Browse files Browse the repository at this point in the history
  • Loading branch information
koliva8245 committed May 9, 2020
1 parent 3b157d8 commit 9ed0bd2
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 9ed0bd2

Please sign in to comment.