winebrowser: Educated guess if the DDE data is CHAR or WCHAR (try 2)
paulc at voip.null.ro
Mon Dec 8 07:00:06 CST 2008
winebrowser: Educated guess if the DDE data is CHAR or WCHAR
Our shell32 dde_connect implementation sends a CHAR buffer for if operating
system version is set to ANSI based and WCHAR if the system is set for
This patch makes winebrowser assume the same about the data it receives via
XTYP_EXECUTE. However, if the string starts with a quote (which normally
always happens) an extra effort is made to detect if the data is UTF-16 by
checking if the upper byte of the 1st WCHAR is zero.
This should fix bug #13891 for good (bugzilla describes a workaround that
avoids using DDE).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1652 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081208/2eb5e4bd/attachment.patch
More information about the wine-patches