зеркало из https://github.com/mozilla/pjs.git
Correct patch for bug 315687 to what was intended.
This commit is contained in:
Родитель
9c60e79f05
Коммит
f1619a625f
|
@ -315,9 +315,9 @@ nsPrintOptions::ReadPrefs(nsIPrintSettings* aPS, const nsAString& aPrinterName,
|
|||
// mm when the size unit flag is inches. The value 100 is arbitrary
|
||||
// and can be changed.
|
||||
if (success) {
|
||||
success = (sizeUnit == nsIPrintSettings::kPaperSizeInches)
|
||||
&& (width < 100.0)
|
||||
&& (height < 100.0);
|
||||
success = (sizeUnit != nsIPrintSettings::kPaperSizeInches)
|
||||
|| (width < 100.0)
|
||||
|| (height < 100.0);
|
||||
}
|
||||
|
||||
if (success) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче