comctl32: Get the test in the correct format

Jeff Latimer lats at yless4u.com.au
Sat Jan 2 15:46:00 CST 2010


On 02/01/10 21:25, Nikolay Sivov wrote:
> On 1/2/2010 12:47, Jeff Latimer wrote:
>> ---
>>  dlls/comctl32/listview.c |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
> You don't need this. Conversion is done next lines if needed:
> ---
>     if (isW)
>         bSame = (lstrcmpW(dispInfo.item.pszText, pszText) == 0);
>     else
>     {
>         LPWSTR tmp = textdupTtoW(pszText, FALSE);
>         bSame = (lstrcmpW(dispInfo.item.pszText, tmp) == 0);
>         textfreeT(tmp, FALSE);
>     }
> ---
Take the point,  I withdraw the patch.



More information about the wine-devel mailing list