Alexandre Julliard : gdi32: Fixed typo in AngleArc.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Feb 14 09:25:40 CST 2007


Module: wine
Branch: master
Commit: 6f7f2bf882444cf829c3617a17dd17d3600a4770
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6f7f2bf882444cf829c3617a17dd17d3600a4770

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Feb 14 12:30:43 2007 +0100

gdi32: Fixed typo in AngleArc.

---

 dlls/gdi32/painting.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/gdi32/painting.c b/dlls/gdi32/painting.c
index 09b1432..ba7f451 100644
--- a/dlls/gdi32/painting.c
+++ b/dlls/gdi32/painting.c
@@ -805,7 +805,7 @@ BOOL WINAPI AngleArc(HDC hdc, INT x, INT y, DWORD dwRadius, FLOAT eStartAngle, F
     x1 = x + cos(eStartAngle*M_PI/180) * dwRadius;
     y1 = y - sin(eStartAngle*M_PI/180) * dwRadius;
     x2 = x + cos((eStartAngle+eSweepAngle)*M_PI/180) * dwRadius;
-    y2 = x - sin((eStartAngle+eSweepAngle)*M_PI/180) * dwRadius;
+    y2 = y - sin((eStartAngle+eSweepAngle)*M_PI/180) * dwRadius;
 
     LineTo( hdc, x1, y1 );
     if( eSweepAngle >= 0 )




More information about the wine-cvs mailing list