Added a comment about nsString.Find() which is currently only case-significant. We really want to have a case-insignificant Find().

This commit is contained in:
rjc%netscape.com 1999-03-19 04:17:17 +00:00
Родитель d2971bcdb2
Коммит 592a18a6b2
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -341,6 +341,10 @@ FindDataSource::doMatch(nsIRDFLiteral *literal, char *matchMethod, char *matchTe
if (nsnull == str) return(found);
nsAutoString value(str);
// XXX Note: nsString.Find() is currently only case-significant.
// We really want a case insignificant Find() for all
// the comparisons below.
if (!PL_strcmp(matchMethod, "contains"))
{
if (value.Find(matchText) >= 0)