This commit is contained in:
akkana%netscape.com 2001-12-06 22:04:40 +00:00
Родитель 3684808812
Коммит bb484aad10
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -344,7 +344,7 @@ nsInternetCiter::Rewrap(const nsAReadableString& aInString,
nextNewline-posInString)).get());
#endif
// Skip over initial spaces:
while (posInString < nextNewline
while ((PRInt32)posInString < nextNewline
&& nsCRT::IsAsciiSpace(tString[posInString]))
++posInString;
@ -358,7 +358,7 @@ nsInternetCiter::Rewrap(const nsAReadableString& aInString,
// Trim trailing spaces:
PRInt32 lastRealChar = nextNewline;
while (lastRealChar > posInString
while ((PRUint32)lastRealChar > posInString
&& nsCRT::IsAsciiSpace(tString[lastRealChar-1]))
--lastRealChar;
#ifdef DEBUG_wrapping