Use AssignWithConversion to make nsString.

This commit is contained in:
conrad%ingress.com 2000-05-03 01:23:13 +00:00
Родитель faba10b076
Коммит d21a262f7c
1 изменённых файлов: 1 добавлений и 2 удалений

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

@ -72,7 +72,7 @@ CThrobber::CThrobber(LStream* inStream) :
LStr255 tempStr;
*inStream >> (StringPtr) tempStr;
*inStream >> mNumImages;
mFileNamePattern.SetString((char *)&tempStr[1], (PRInt32)tempStr.Length());
mFileNamePattern.AssignWithConversion((char *)&tempStr[1], (PRInt32)tempStr.Length());
}
@ -165,7 +165,6 @@ void CThrobber::DrawSelf()
nsRect bounds;
nsIImageRequest *imgreq;
nsIImage *img;
PRBool clipState;
mWidget->GetClientBounds(bounds);
bounds.x = bounds.y = 0;