wxdocmpnocase fixup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1340,7 +1340,7 @@ static inline int wxDoCmpNoCase(const wxChar* s1, size_t l1,
|
|||||||
if(wxTolower(s1[i]) != wxTolower(s2[i]))
|
if(wxTolower(s1[i]) != wxTolower(s2[i]))
|
||||||
break;
|
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
|
wxFAIL; // must never get there
|
||||||
|
Reference in New Issue
Block a user