Use wxStrnicmp() instead of strncasecmp() in wxGTK code.

This fixes compilation under Windows where strncasecmp() is not available --
but portable wxStrnicmp() always is.

Closes #14036.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-02-23 13:56:14 +00:00
parent f090e4ef67
commit 36cc76505c
2 changed files with 5 additions and 5 deletions

View File

@@ -403,7 +403,7 @@ au_check_word( GtkTextIter *s, GtkTextIter *e )
for( n = 0; n < WXSIZEOF(URIPrefixes); ++n )
{
prefix_len = strlen(URIPrefixes[n]);
if((len > prefix_len) && !strncasecmp(text, URIPrefixes[n], prefix_len))
if((len > prefix_len) && !wxStrnicmp(text, URIPrefixes[n], prefix_len))
break;
}