riched20: Properly clear all of a buffer of type WCHAR.

Huw Davies huw at codeweavers.com
Mon May 9 02:55:50 CDT 2016


On Sun, May 08, 2016 at 10:15:49PM +0200, Gerald Pfeifer wrote:
> buf is an array of WCHAR, so this memset falls short.  
> 
> If you prefer, I can submit a patch that rather uses sizeof(buf);
> just let me know.

Hi Gerald,

Yes, please use sizeof(buf).

Thanks,
Huw.




More information about the wine-devel mailing list