replaced call to deprecated nsString API

git-svn-id: svn://10.0.0.236/trunk@41080 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
1999-07-26 01:01:10 +00:00
parent e7466985c1
commit b95059cd8b
11 changed files with 17 additions and 17 deletions

View File

@@ -2855,7 +2855,7 @@ SI_FindValueInArgs(nsAutoString results, char* name) {
return nsAutoString("").ToNewCString();
}
start += PL_strlen(name); /* get passed the |name| part */
length = results.Find('|', start) - start;
length = results.FindChar('|', PR_FALSE,start) - start;
results.Mid(value, start, length);
return value.ToNewCString();
}