]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
After trying a succession of tests on Jacob's machine, I think I've
authorSimon Tatham <anakin@pobox.com>
Mon, 2 Sep 2002 13:47:50 +0000 (13:47 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 2 Sep 2002 13:47:50 +0000 (13:47 +0000)
commit6813094751c44484eb0647fd5178e6e7de3d219f
tree41c7f44195ccce0e2b3e741183e3ea3a3ec168ac
parent9ccb502c474073f2c4e8ed5d903c20d012f232a4
After trying a succession of tests on Jacob's machine, I think I've
finally isolated the _important_ difference between Romano Trampus's
working printing.c and my failing one: he ignores the error return
from the first exploratory how-big-does-my-buffer-need-to-be call to
EnumPrinters(), because not having enough buffer space counts as an
error condition. Hence I am officially a klutz, but this should now
work. (Also reverted ENUM_LEVEL to 1, again, because that seems to
be the choice of people whose code works.)

[originally from svn r1915]
printing.c