[3/3] gdi32: improved PolyDraw

Alexandre Julliard julliard at winehq.org
Wed Jun 27 08:33:39 CDT 2007


"Evan Stade" <estade at gmail.com> writes:

> +        for( i = dc->path.numEntriesUsed-1; i >= 0; i-- ){
> +            if(dc->path.pFlags[i] == PT_MOVETO){
> +                lastmove = dc->path.pPoints[i];
> +                break;
> +            }
> +        }
> +        if(i < 0){
> +            lastmove.x = 0;
> +            lastmove.y = 0;
> +        }

This can't work, i is unsigned.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list