[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [3/3] gdi32: improved PolyDraw
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2007-06-27 13:33:39
Message-ID: 87tzst5xos.fsf () wine ! dyndns ! org
[Download RAW message or body]

"Evan Stade" <estade@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@winehq.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic