windowscodecs: Fix *_CopyPixels functions to properly handle a NULL rectangle

Vitaliy Margolen wine-devel at kievinfo.com
Sun Oct 17 11:49:47 CDT 2010


On 10/17/2010 01:59 AM, Krzysztof Nowicki wrote:
> Doing a memcpy to a local rectangle seems a morenatural way to do it

Not really. Doing RECT = RECT is the natural way to do it. Don't use memcpy 
to copy one structure to another structure of the same type.

Vitaliy.



More information about the wine-devel mailing list