From: Colin Finck Date: Wed, 15 Jul 2015 15:53:04 +0000 (+0000) Subject: [WINPRINT] X-Git-Tag: backups/colins-printing-for-freedom@73041~29 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=1f52401541b375c4347c785359fb6c0b36d5d7a6 [WINPRINT] Bugfix: The Printer Name with Port is given through the parameter pPrinterName, not the pPrinterName field of the pPrintProcessorOpenData structure. svn path=/branches/colins-printing-for-freedom/; revision=68401 --- diff --git a/reactos/win32ss/printing/processors/winprint/main.c b/reactos/win32ss/printing/processors/winprint/main.c index 6169f4f70cd..cee46140784 100644 --- a/reactos/win32ss/printing/processors/winprint/main.c +++ b/reactos/win32ss/printing/processors/winprint/main.c @@ -219,7 +219,7 @@ OpenPrintProcessor(PWSTR pPrinterName, PPRINTPROCESSOROPENDATA pPrintProcessorOp pHandle->pwszDatatype = AllocSplStr(pPrintProcessorOpenData->pDatatype); pHandle->pwszDocumentName = AllocSplStr(pPrintProcessorOpenData->pDocumentName); pHandle->pwszOutputFile = AllocSplStr(pPrintProcessorOpenData->pOutputFile); - pHandle->pwszPrinterPort = AllocSplStr(pPrintProcessorOpenData->pPrinterName); + pHandle->pwszPrinterPort = AllocSplStr(pPrinterName); // We were successful! Return the handle and don't let the cleanup routine free it. dwErrorCode = ERROR_SUCCESS;