replaced calls to deprecated string methods

git-svn-id: svn://10.0.0.236/trunk@62729 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
2000-03-12 20:50:01 +00:00
parent 39ad60cabe
commit e0d6147e77
6 changed files with 11 additions and 11 deletions

View File

@@ -272,7 +272,7 @@ nsInstallVersion::ToString(nsString& aReturn)
char *result=NULL;
result = PR_sprintf_append(result, "%d.%d.%d.%d", major, minor, release, build);
aReturn.SetString(result);
aReturn.Assign(result);
PR_FREEIF(result);