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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user