mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 10:17:17 +00:00
gdiplus: Remove superfluous braces.
This commit is contained in:
parent
9205f02ac5
commit
f8da0d3a1e
|
@ -1724,7 +1724,6 @@ static void widen_joint(const GpPointF *p1, const GpPointF *p2, const GpPointF *
|
||||||
{
|
{
|
||||||
case LineJoinMiter:
|
case LineJoinMiter:
|
||||||
case LineJoinMiterClipped:
|
case LineJoinMiterClipped:
|
||||||
{
|
|
||||||
if ((p2->X - p1->X) * (p3->Y - p1->Y) > (p2->Y - p1->Y) * (p3->X - p1->X))
|
if ((p2->X - p1->X) * (p3->Y - p1->Y) > (p2->Y - p1->Y) * (p3->X - p1->X))
|
||||||
{
|
{
|
||||||
float distance = pen->width/2.0;
|
float distance = pen->width/2.0;
|
||||||
|
@ -1752,7 +1751,6 @@ static void widen_joint(const GpPointF *p1, const GpPointF *p2, const GpPointF *
|
||||||
/* else fall-through */
|
/* else fall-through */
|
||||||
}
|
}
|
||||||
/* else fall-through */
|
/* else fall-through */
|
||||||
}
|
|
||||||
default:
|
default:
|
||||||
case LineJoinBevel:
|
case LineJoinBevel:
|
||||||
add_bevel_point(p2, p1, pen, 1, last_point);
|
add_bevel_point(p2, p1, pen, 1, last_point);
|
||||||
|
|
Loading…
Reference in a new issue