winspool.drv: Drop a superfluous TRUE:FALSE conditional expression.
This commit is contained in:
parent
a04900df68
commit
aae2602eba
|
@ -5258,7 +5258,7 @@ BOOL WINAPI GetPrinterDriverDirectoryA(LPSTR pName, LPSTR pEnvironment,
|
||||||
(LPSTR)pDriverDirectory, cbBuf, NULL, NULL);
|
(LPSTR)pDriverDirectory, cbBuf, NULL, NULL);
|
||||||
if(pcbNeeded)
|
if(pcbNeeded)
|
||||||
*pcbNeeded = needed;
|
*pcbNeeded = needed;
|
||||||
ret = (needed <= cbBuf) ? TRUE : FALSE;
|
ret = needed <= cbBuf;
|
||||||
} else
|
} else
|
||||||
if(pcbNeeded) *pcbNeeded = pcbNeededW * sizeof(CHAR)/sizeof(WCHAR);
|
if(pcbNeeded) *pcbNeeded = pcbNeededW * sizeof(CHAR)/sizeof(WCHAR);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue