Author: cfinck
Date: Wed Jul 15 15:53:04 2015
New Revision: 68401
URL:
http://svn.reactos.org/svn/reactos?rev=68401&view=rev
Log:
[WINPRINT]
Bugfix: The Printer Name with Port is given through the parameter pPrinterName, not the
pPrinterName field of the pPrintProcessorOpenData structure.
Modified:
branches/colins-printing-for-freedom/reactos/win32ss/printing/processors/winprint/main.c
Modified:
branches/colins-printing-for-freedom/reactos/win32ss/printing/processors/winprint/main.c
URL:
http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
==============================================================================
---
branches/colins-printing-for-freedom/reactos/win32ss/printing/processors/winprint/main.c [iso-8859-1]
(original)
+++
branches/colins-printing-for-freedom/reactos/win32ss/printing/processors/winprint/main.c [iso-8859-1]
Wed Jul 15 15:53:04 2015
@@ -219,7 +219,7 @@
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;