aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/ephy-location-entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/ephy-location-entry.c')
-rw-r--r--lib/widgets/ephy-location-entry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 63ca5cb38..94033d8f6 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -316,7 +316,7 @@ completion_func (GtkEntryCompletion *completion,
-1);
len_key = strlen (key);
- if (!strncmp (key, item, len_key))
+ if (!strncasecmp (key, item, len_key))
{
ret = TRUE;
}
@@ -330,7 +330,7 @@ completion_func (GtkEntryCompletion *completion,
{
len_prefix = web_prefixes[i].len;
if (!strncmp (web_prefixes[i].prefix, item, len_prefix) &&
- !strncmp (key, item + len_prefix, len_key))
+ !strncasecmp (key, item + len_prefix, len_key))
{
ret = TRUE;
break;