Listview: Fix notify_dispinfoT for Unicode Parent

Dimitrie O. Paun dpaun at rogers.com
Sat Oct 30 12:38:41 CDT 2004


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.



More information about the wine-devel mailing list