Bug 288265 - saving svg page messing up viewBox attributes.

r=jwatt, src=bzbarsky, a=dveditz
This commit is contained in:
tor%cs.brown.edu 2005-05-17 22:52:33 +00:00
parent a4836e49ad
commit 045816767b

View File

@ -140,7 +140,7 @@ nsSVGRect::GetValueString(nsAString& aValue)
NS_LITERAL_STRING("%g %g %g %g").get(),
(double)mX, (double)mY,
(double)mWidth, (double)mHeight);
aValue.Append(buf);
aValue.Assign(buf);
return NS_OK;
}