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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user