mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
winex11.drv: Remove extraneous parentheses (LLVM/Clang).
This commit is contained in:
parent
8ec21524ec
commit
846ba03867
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue