Michael Stefaniuc : wineps.drv: Drop a superfluous TRUE: FALSE conditional expression.
Module: wine Branch: master Commit: c1223611af034b6553ee7caf3cf14f5bbd46838d URL: http://source.winehq.org/git/wine.git/?a=commit;h=c1223611af034b6553ee7caf3c... Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Tue Aug 14 23:04:03 2012 +0200 wineps.drv: Drop a superfluous TRUE:FALSE conditional expression. --- dlls/wineps.drv/driver.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/wineps.drv/driver.c b/dlls/wineps.drv/driver.c index 9443c66..358f088 100644 --- a/dlls/wineps.drv/driver.c +++ b/dlls/wineps.drv/driver.c @@ -740,7 +740,7 @@ DWORD PSDRV_DeviceCapabilities(LPSTR lpszDriver, LPCSTR lpszDevice, LPCSTR lpszP /* Printer supports colour printing - 1 if yes, 0 if no (Win2k/XP only) */ case DC_COLORDEVICE: - ret = (pi->ppd->ColorDevice != CD_False) ? TRUE : FALSE; + ret = pi->ppd->ColorDevice != CD_False; break; /* Identification number of the printer manufacturer for use with ICM (Win9x only) */
participants (1)
-
Alexandre Julliard