зеркало из https://github.com/mozilla/pjs.git
Backout of commits for bug 97299. This causes assertions, which means we
missed some spots where name was getting set.
This commit is contained in:
Родитель
9510ec7eea
Коммит
e291f0548a
|
@ -152,7 +152,6 @@ nsPrintOptions::SetFontNamePointSize(nsString& aFontName, PRInt32 aPointSize)
|
||||||
{
|
{
|
||||||
if (mDefaultFont != nsnull && aFontName.Length() > 0 && aPointSize > 0) {
|
if (mDefaultFont != nsnull && aFontName.Length() > 0 && aPointSize > 0) {
|
||||||
mDefaultFont->name = aFontName;
|
mDefaultFont->name = aFontName;
|
||||||
mDefaultFont->name.ToLowerCase();
|
|
||||||
mDefaultFont->size = NSIntPointsToTwips(aPointSize);
|
mDefaultFont->size = NSIntPointsToTwips(aPointSize);
|
||||||
}
|
}
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче