1
0
Fork 0

Tab completion for player names now case insensitive.

This commit is contained in:
Marvin Kopf 2016-02-05 21:27:31 +01:00
parent ac5170c7c4
commit 0b826b0e52
1 changed files with 1 additions and 1 deletions

View File

@ -3583,7 +3583,7 @@ void cWorld::TabCompleteUserName(const AString & a_Text, AStringVector & a_Resul
PlayerName = (*itr)->GetCustomName();
}
AString::size_type Found = PlayerName.find(LastWord); // Try to find last word in playername
AString::size_type Found = StrToLower(PlayerName).find(StrToLower(LastWord)); // Try to find last word in playername
if (Found == AString::npos)
{
continue; // No match