[FORMATTING] Remove trailing whitespace. Addendum to 34593d93.

Excluded: 3rd-party code (incl. wine) and most of the win32ss.
This commit is contained in:
Hermès Bélusca-Maïto 2021-09-13 03:33:14 +02:00
parent bbabe2489e
commit 9393fc320e
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
701 changed files with 14685 additions and 14693 deletions

View file

@ -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))
{

View file

@ -86,7 +86,7 @@ PrintRawJob(PWINPRINT_HANDLE pHandle, PWSTR pwszPrinterAndJob)
Cleanup:
if (pBuffer)
DllFreeSplMem(pBuffer);
if (bStartedDoc)
EndDocPrinter(hPrintMonitor);

View file

@ -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);

View file

@ -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.

View file

@ -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))
{