Re: comctl32: Get the test in the correct format
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); } ---
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.
participants (2)
-
Jeff Latimer -
Nikolay Sivov