summaryrefslogtreecommitdiff
path: root/navit/linguistics.c
diff options
context:
space:
mode:
authorsleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-08-11 20:26:25 +0000
committersleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-08-11 20:26:25 +0000
commitb2b4ea881bff70f3f6f748c6c26f332b3962ea8f (patch)
tree90e65b2707333b8c47d6cab4d7557df2322ec354 /navit/linguistics.c
parentafa961b8b380160b6c87b5153054cb8d3658458e (diff)
downloadnavit-b2b4ea881bff70f3f6f748c6c26f332b3962ea8f.tar.gz
Fix:core:Fix warnings by not using g_str(n)casecmp; new function navit_utf8_strcasecmp.|Part of #1154.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5572 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/linguistics.c')
-rw-r--r--navit/linguistics.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/navit/linguistics.c b/navit/linguistics.c
index 2483a4890..d249cdab9 100644
--- a/navit/linguistics.c
+++ b/navit/linguistics.c
@@ -458,13 +458,13 @@ linguistics_next_word(char *str)
int
linguistics_search(const char *str)
{
- if (!g_strcasecmp(str,"str"))
+ if (!g_ascii_strcasecmp(str,"str"))
return 0;
- if (!g_strcasecmp(str,"str."))
+ if (!g_ascii_strcasecmp(str,"str."))
return 0;
- if (!g_strcasecmp(str,"strasse"))
+ if (!g_ascii_strcasecmp(str,"strasse"))
return 0;
- if (!g_strcasecmp(str,"weg"))
+ if (!g_ascii_strcasecmp(str,"weg"))
return 0;
return 1;
}