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);





Reply via email to