[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: Listview: Fix notify_dispinfoT for Unicode Parent
From:       "Dimitrie O. Paun" <dpaun () rogers ! com>
Date:       2004-10-30 17:38:41
Message-ID: 20041030173841.GB3887 () rogers ! com
[Download RAW message or body]

On Sat, Oct 30, 2004 at 02:16:09PM +0100, Robert Shearman wrote:
> +    /* 
> +       only need to convert to string from Unicode to Ansi if we expect a
> +       valid pointer
> +     */
> +    if ((infoPtr->notifyFormat == NFR_ANSI) && (pdi->item.mask & LVIF_TEXT) && \
> is_textT(pdi->item.pszText, FALSE)) +        convertToAnsi = TRUE;

This can't be right -- what if the data is already in ASCII format?
I think we need to take isW into account.

-- 
Dimi.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic