wineps.drv: Drop a superfluous TRUE:FALSE conditional expression.

Michael Stefaniuc mstefani at redhat.de
Tue Aug 14 16:04:03 CDT 2012


---
 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) */
-- 
1.7.7.6



More information about the wine-patches mailing list