blob: 933b156fc829e270742ce5a6e543a34d86ff6f4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-aa,v 1.13 2004/11/27 00:52:49 abs Exp $
--- mozilla/MozillaPrivate.cpp.orig 2004-11-27 00:10:16.000000000 +0000
+++ mozilla/MozillaPrivate.cpp
@@ -109,6 +109,7 @@ NS_METHOD MozillaPrintSettingsToEmbedPri
tmp = paperPrefix + NS_LITERAL_CSTRING("width_mm");
rv = pref->GetIntPref(tmp.get(), &width);
+#ifdef _NL_PAPER_HEIGHT
// mark locale default paper size so that print dialog can use
// it as best guess when switching printers
if (height == (int) (long int) nl_langinfo (_NL_PAPER_HEIGHT) &&
@@ -116,6 +117,7 @@ NS_METHOD MozillaPrintSettingsToEmbedPri
{
info->paper = i;
}
+#endif
PRBool is_inch;
tmp = paperPrefix + NS_LITERAL_CSTRING("is_inch");
|