diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c index 8027a1a099e..38266c9d9d3 100644 --- a/dlls/winspool.drv/info.c +++ b/dlls/winspool.drv/info.c @@ -5258,7 +5258,7 @@ BOOL WINAPI GetPrinterDriverDirectoryA(LPSTR pName, LPSTR pEnvironment, (LPSTR)pDriverDirectory, cbBuf, NULL, NULL); if(pcbNeeded) *pcbNeeded = needed; - ret = (needed <= cbBuf) ? TRUE : FALSE; + ret = needed <= cbBuf; } else if(pcbNeeded) *pcbNeeded = pcbNeededW * sizeof(CHAR)/sizeof(WCHAR);