comctl32/listview: Fix dead condition (Coverity).

This commit is contained in:
Nikolay Sivov 2011-02-25 11:55:50 +03:00 committed by Alexandre Julliard
parent 190f6ab158
commit 1734577731
1 changed files with 1 additions and 1 deletions

View File

@ -543,7 +543,7 @@ static BOOL textsetptrT(LPWSTR *dest, LPCWSTR src, BOOL isW)
static inline int textcmpWT(LPCWSTR aw, LPCWSTR bt, BOOL isW)
{
if (!aw) return bt ? -1 : 0;
if (!bt) return aw ? 1 : 0;
if (!bt) return 1;
if (aw == LPSTR_TEXTCALLBACKW)
return bt == LPSTR_TEXTCALLBACKW ? 1 : -1;
if (bt != LPSTR_TEXTCALLBACKW)