wxdocmpnocase fixup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton
2004-11-04 17:47:33 +00:00
parent cc69661552
commit 35b4f9cae1

View File

@@ -1340,7 +1340,7 @@ static inline int wxDoCmpNoCase(const wxChar* s1, size_t l1,
if(wxTolower(s1[i]) != wxTolower(s2[i]))
break;
}
return i == l2 ? 1 : s1[i] < s2[i] ? -1 : 1;
return i == l2 ? 1 : wxTolower(s1[i]) < wxTolower(s2[i]) ? -1 : 1;
}
wxFAIL; // must never get there