Fix string handling for Turkish locale

This commit is contained in:
Berke Viktor
2012-06-16 13:01:47 +02:00
parent ee7dcc5f22
commit 35821f3875
22 changed files with 135 additions and 135 deletions

View File

@@ -1688,7 +1688,7 @@ mg_dnd_drop_file (session *sess, char *target, char *uri)
while (*p)
{
next = strchr (p, '\r');
if (strncasecmp ("file:", p, 5) == 0)
if (g_ascii_strncasecmp ("file:", p, 5) == 0)
{
if (next)
*next = 0;
@@ -2911,7 +2911,7 @@ mg_tabs_compare (session *a, session *b)
if (a->type != SESS_CHANNEL && b->type == SESS_CHANNEL)
return 1;
return strcasecmp (a->channel, b->channel);
return g_ascii_strcasecmp (a->channel, b->channel);
}
static void