Browse Source

infinite loop fix

Anne Marije van der Meer 12 years ago
parent
commit
58106995b4
  1. 1
      Sources/Plasma/CoreLib/plString.cpp

1
Sources/Plasma/CoreLib/plString.cpp

@ -556,6 +556,7 @@ int plString::Find(char ch, CaseSensitivity sense) const
while (*cp) { while (*cp) {
if (tolower(*cp) == tolower(ch)) if (tolower(*cp) == tolower(ch))
return cp - c_str(); return cp - c_str();
cp++;
} }
return -1; return -1;
} }

Loading…
Cancel
Save