Applied patch [ 809066 ] Cleanup for text2rtf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1687,7 +1687,7 @@ bool StringMatch(const wxChar *str1, const wxChar *str2, bool subString,
|
||||
Sstr1.MakeUpper();
|
||||
Sstr2.MakeUpper();
|
||||
}
|
||||
return Sstr2.Index(Sstr1) != wxNOT_FOUND;
|
||||
return Sstr2.Index(Sstr1) != (size_t)wxNOT_FOUND;
|
||||
}
|
||||
else
|
||||
return exact ? wxString(str2).Cmp(str1) == 0 :
|
||||
|
Reference in New Issue
Block a user