Attached is a correction for yesterday's lame printing patch.
This corrects the string length errors and the LPR else case.
On Tue, Apr 30, 2002 at 06:43:11AM +0200, Marcus Meissner wrote:
--- winehq/dlls/gdi/printdrv.c Thu Mar 28 17:22:05 2002 +++ wine/dlls/gdi/printdrv.c Mon Apr 29 15:29:42 2002 @@ -482,6 +482,8 @@
if (!strncmp("LPR:",pszOutput,4)) sprintf(psCmd,"|lpr -P%s",pszOutput+4);
- if (!strncmp("CUPS:",pszOutput,4))
else { HKEY hkey;sprintf(psCmd,"|lp -d%s",pszOutput+4);
This is wrong, the else { } is handled in the LPR: case too so you break /etc/printcap based printing.
Ciao, Marcus