summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-12-03 02:30:27 +0000
committerMartin Pool <mbp@samba.org>2001-12-03 02:30:27 +0000
commite0adf6e27ef7d66be5908aba4466cc11b3841eab (patch)
tree15488ff8aba7ee7e6a359fc31e411ac8553a5564 /source3/printing
parent78169af90a3594a574f0e19cd60f27c870a9bcd2 (diff)
downloadsamba-e0adf6e27ef7d66be5908aba4466cc11b3841eab.tar.gz
samba-e0adf6e27ef7d66be5908aba4466cc11b3841eab.tar.bz2
samba-e0adf6e27ef7d66be5908aba4466cc11b3841eab.zip
Writing decimal constants as "02" has been shown to cause cancer in
rats. (This used to be commit 142d3dad0ab6870acb0d46d1f189d5e2e1f71b17)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/nt_printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 68050163c4..481f61528d 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -2091,7 +2091,7 @@ NT_DEVICEMODE *construct_nt_devicemode(const fstring default_devicename)
nt_devmode->paperlength = 0;
nt_devmode->paperwidth = 0;
nt_devmode->scale = 0x64;
- nt_devmode->copies = 01;
+ nt_devmode->copies = 1;
nt_devmode->defaultsource = BIN_FORMSOURCE;
nt_devmode->printquality = RES_HIGH; /* 0x0258 */
nt_devmode->color = COLOR_MONOCHROME;