1
0
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:
Anne Marije van der Meer
2013-01-26 12:51:22 +01:00
parent d3a9a51277
commit 58106995b4

View File

@ -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;
}