[2/2] user32: Use IsTextUnicode instead of a helper.

Nikolay Sivov bunglehead at gmail.com
Fri Jan 22 02:28:34 CST 2016


On 22.01.2016 10:11, Jactry Zeng wrote:
> -    if (!data_looks_unicode( ptr, size ))
> +    if (!IsTextUnicode((WCHAR *)ptr, sizeof((WCHAR *)ptr), NULL))

Why it's sizeof() now instead of 'size' ? Also why do you need a cast to
(WCHAR*)?



More information about the wine-devel mailing list