comctl32/listview: WinSCP dogfood fix

Nikolay Sivov bunglehead at gmail.com
Mon May 11 15:29:17 CDT 2009


Stefan Stranz wrote:
> Fixes bug #13867
> Original fix by GameZelda
A test needed for such changes. Especially for that part:

@@ -519,7 +519,7 @@ static inline int textcmpWT(LPCWSTR aw, LPCWSTR bt, BOOL isW)
     if (!aw) return bt ? -1 : 0;
     if (!bt) return aw ? 1 : 0;
     if (aw == LPSTR_TEXTCALLBACKW)
-	return bt == LPSTR_TEXTCALLBACKW ? 0 : -1;
+	return bt == LPSTR_TEXTCALLBACKW ? 1 : -1;
     if (bt != LPSTR_TEXTCALLBACKW)
     {
 	LPWSTR bw = textdupTtoW(bt, isW);






More information about the wine-devel mailing list