removed warnings; r=none

git-svn-id: svn://10.0.0.236/trunk@64107 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
2000-03-25 05:38:11 +00:00
parent 4aea0e4591
commit fc42d987f5
18 changed files with 26 additions and 40 deletions

View File

@@ -1010,7 +1010,9 @@ PRBool nsHTMLContentSinkStream::HasLongLines(const nsString& text)
{
const PRInt32 longLineLen = 128;
nsString str = text;
for (PRInt32 start = 0; start < text.Length(); )
PRUint32 start=0;
PRUint32 theLen=text.Length();
for (start = 0; start < theLen; )
{
PRInt32 eol = text.FindChar('\n', PR_FALSE, start);
if (eol < 0) eol = text.Length();