mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:45:41 +00:00
[FORMATTING] Remove trailing whitespace. Addendum to 34593d93
.
Excluded: 3rd-party code (incl. wine) and most of the win32ss.
This commit is contained in:
parent
bbabe2489e
commit
9393fc320e
701 changed files with 14685 additions and 14693 deletions
|
@ -1436,7 +1436,7 @@ EnumPrintersA(DWORD Flags, PSTR Name, DWORD Level, PBYTE pPrinterEnum, DWORD cbB
|
|||
|
||||
MultiByteToWideChar(CP_ACP, 0, Name, -1, pwszName, cch + 1);
|
||||
}
|
||||
|
||||
|
||||
/* Ref: https://stackoverflow.com/questions/41147180/why-enumprintersa-and-enumprintersw-request-the-same-amount-of-memory */
|
||||
if (!EnumPrintersW(Flags, pwszName, Level, pPrinterEnum, cbBuf, pcbNeeded, pcReturned))
|
||||
{
|
||||
|
|
|
@ -86,7 +86,7 @@ PrintRawJob(PWINPRINT_HANDLE pHandle, PWSTR pwszPrinterAndJob)
|
|||
Cleanup:
|
||||
if (pBuffer)
|
||||
DllFreeSplMem(pBuffer);
|
||||
|
||||
|
||||
if (bStartedDoc)
|
||||
EndDocPrinter(hPrintMonitor);
|
||||
|
||||
|
|
|
@ -1475,7 +1475,7 @@ FreeJob(PLOCAL_JOB pJob)
|
|||
// Free memory for the optional fields if they are present.
|
||||
if (pJob->pwszOutputFile)
|
||||
DllFreeSplStr(pJob->pwszOutputFile);
|
||||
|
||||
|
||||
if (pJob->pwszPrintProcessorParameters)
|
||||
DllFreeSplStr(pJob->pwszPrintProcessorParameters);
|
||||
|
||||
|
|
|
@ -1188,7 +1188,7 @@ _LocalOpenPrinterHandle(PWSTR pwszPrinterName, PWSTR pwszJobParameter, PHANDLE p
|
|||
goto Failure;
|
||||
}
|
||||
|
||||
// Skip the "Job " string.
|
||||
// Skip the "Job " string.
|
||||
pwszJobParameter += 4;
|
||||
|
||||
// Skip even more whitespace.
|
||||
|
|
|
@ -148,7 +148,7 @@ InitializePrintProcessorList(void)
|
|||
|
||||
// Initialize an empty list for our Print Processors.
|
||||
InitializeListHead(&_PrintProcessorList);
|
||||
|
||||
|
||||
// Prepare the path to the Print Processor directory.
|
||||
if (!LocalGetPrintProcessorDirectory(NULL, (PWSTR)wszCurrentEnvironment, 1, (PBYTE)wszPrintProcessorPath, sizeof(wszPrintProcessorPath), &cchPrintProcessorPath))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue