winex11.drv: Remove extraneous parentheses (LLVM/Clang).
authorAustin English <austinenglish@gmail.com>
Tue, 12 Apr 2011 21:59:34 +0000 (16:59 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 13 Apr 2011 12:13:54 +0000 (14:13 +0200)
dlls/winex11.drv/graphics.c

index 8236759e0117f5dbf5b83181c8215525369a5e36..ac5ea623112fda6947493f6f253fd7d650df7902 100644 (file)
@@ -534,7 +534,7 @@ X11DRV_DrawArc( X11DRV_PDEVICE *physDev, INT left, INT top, INT right,
     if (!width) width = 1;
     if(physDev->pen.style == PS_NULL) width = 0;
 
-    if ((physDev->pen.style == PS_INSIDEFRAME))
+    if (physDev->pen.style == PS_INSIDEFRAME)
     {
         if (2*width > (rc.right-rc.left)) width=(rc.right-rc.left + 1)/2;
         if (2*width > (rc.bottom-rc.top)) width=(rc.bottom-rc.top + 1)/2;
@@ -709,7 +709,7 @@ X11DRV_Ellipse( X11DRV_PDEVICE *physDev, INT left, INT top, INT right, INT botto
     if (!width) width = 1;
     if(physDev->pen.style == PS_NULL) width = 0;
 
-    if ((physDev->pen.style == PS_INSIDEFRAME))
+    if (physDev->pen.style == PS_INSIDEFRAME)
     {
         if (2*width > (rc.right-rc.left)) width=(rc.right-rc.left + 1)/2;
         if (2*width > (rc.bottom-rc.top)) width=(rc.bottom-rc.top + 1)/2;
@@ -769,7 +769,7 @@ X11DRV_Rectangle(X11DRV_PDEVICE *physDev, INT left, INT top, INT right, INT bott
     if (!width) width = 1;
     if(physDev->pen.style == PS_NULL) width = 0;
 
-    if ((physDev->pen.style == PS_INSIDEFRAME))
+    if (physDev->pen.style == PS_INSIDEFRAME)
     {
         if (2*width > (rc.right-rc.left)) width=(rc.right-rc.left + 1)/2;
         if (2*width > (rc.bottom-rc.top)) width=(rc.bottom-rc.top + 1)/2;
@@ -850,7 +850,7 @@ X11DRV_RoundRect( X11DRV_PDEVICE *physDev, INT left, INT top, INT right,
     if (!width) width = 1;
     if(physDev->pen.style == PS_NULL) width = 0;
 
-    if ((physDev->pen.style == PS_INSIDEFRAME))
+    if (physDev->pen.style == PS_INSIDEFRAME)
     {
         if (2*width > (rc.right-rc.left)) width=(rc.right-rc.left + 1)/2;
         if (2*width > (rc.bottom-rc.top)) width=(rc.bottom-rc.top + 1)/2;