x11drv: XDND: Fix file drop to properly support
file:/// URIs(debugging problem)
Robert Shearman
rob at codeweavers.com
Thu Mar 22 02:20:22 CDT 2007
Dmitry Timoshkov wrote:
>> - strcpy(((char*)lpDrop)+lpDrop->pFiles, path);
>> + memcpy(((char*)lpDrop)+lpDrop->pFiles, (char*)wpath,
>> fullpathlen * sizeof(WCHAR));
>
> Use lstrcpyW here instead of memcpy.
>
Why? Maciej has already got the length, so why not do the appropriate
calculation on fullpathlen and use memcpy?
--
Rob Shearman
More information about the wine-devel
mailing list