"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