mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 23:33:00 +00:00
- made the text comparison for Dehacked case insensitive so that the contents of the string table can be properly capitalized without breaking old-style string replacements.
This commit is contained in:
parent
7098748e9e
commit
d5f138f14d
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ const char *StringMap::MatchString (const char *string) const
|
||||||
|
|
||||||
while (it.NextPair(pair))
|
while (it.NextPair(pair))
|
||||||
{
|
{
|
||||||
if (pair->Value.Compare(string) == 0)
|
if (pair->Value.CompareNoCase(string) == 0)
|
||||||
{
|
{
|
||||||
return pair->Key.GetChars();
|
return pair->Key.GetChars();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue