Correct patch for bug 315687 to what was intended.

This commit is contained in:
kherron@fmailbox.com 2007-09-02 06:19:39 -07:00
Родитель 9c60e79f05
Коммит f1619a625f
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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) {