Re: [2/2] gdi32: fixed PolyDraw for open path case [try3]
July 2, 2007
2:30 p.m.
"Evan Stade" <estade(a)gmail.com> writes:
@@ -838,6 +838,65 @@ BOOL WINAPI PolyDraw(HDC hdc, const POIN } GDI_ReleaseObj( hdc );
+ if( PATH_IsPathOpen( dc->path ) ){ + lastmove.x = orig_pos.x = dc->CursPosX; + lastmove.y = orig_pos.y = dc->CursPosY;
Accessing the DC after GDI_ReleaseObj is not allowed. The code was doing that already so it's not your bug, but it would be good to fix it while you're at it. Also like Misha said you should put the open path case in a separate path function. -- Alexandre Julliard julliard(a)winehq.org
6841
Age (days ago)
6841
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard