mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
infinite loop fix
This commit is contained in:
@ -556,6 +556,7 @@ int plString::Find(char ch, CaseSensitivity sense) const
|
||||
while (*cp) {
|
||||
if (tolower(*cp) == tolower(ch))
|
||||
return cp - c_str();
|
||||
cp++;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user