mark dufour <[EMAIL PROTECTED]> wrote:

> Here's another implementation, for the PolyDraw function. Like AngleArc, this 
> is NT-only. I installed NT for the occasion and tried out all possible 
> situations I could think of. I also found a bug in my AngleArc 
> implementation, so I'm submitting that one again in the same patch. My 
> previous AngleArc patch hasn't made into the CVS tree yet, so I didn't know 
> whether to send the full implementation again or not.

> +
> +    if( dwRadius < 0 ) return FALSE;

Sorry, I have not pointed out to this earlier, but DWORD == unsigned long,
and therefore just can't be < 0. And it would be a good idea to not use
C++ comments in the pure C code.

Dmitry.




Reply via email to