Andrew Talbot : gdiplus: Remove superfluous braces.
Alexandre Julliard
julliard at winehq.org
Wed Nov 28 14:14:05 CST 2012
Module: wine
Branch: master
Commit: f8da0d3a1efeaf066122b042c94593d5be4f7a7d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f8da0d3a1efeaf066122b042c94593d5be4f7a7d
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Tue Nov 27 22:22:16 2012 +0000
gdiplus: Remove superfluous braces.
---
dlls/gdiplus/graphicspath.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c
index ca96bda..1fbebba 100644
--- a/dlls/gdiplus/graphicspath.c
+++ b/dlls/gdiplus/graphicspath.c
@@ -1724,7 +1724,6 @@ static void widen_joint(const GpPointF *p1, const GpPointF *p2, const GpPointF *
{
case LineJoinMiter:
case LineJoinMiterClipped:
- {
if ((p2->X - p1->X) * (p3->Y - p1->Y) > (p2->Y - p1->Y) * (p3->X - p1->X))
{
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 */
- }
default:
case LineJoinBevel:
add_bevel_point(p2, p1, pen, 1, last_point);
More information about the wine-cvs
mailing list