diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-09-09 22:55:19 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-09-09 22:55:19 +0000 |
commit | fc24eee2c8a19ee95e2ef0400006f3ef716487a0 (patch) | |
tree | e86bb177724ddd45528ea2381602f89a7f83f0e7 /navit/linguistics.c | |
parent | a1198ac7f014696e13574f5d4651a1e6b13e83e0 (diff) | |
download | navit-svn-fc24eee2c8a19ee95e2ef0400006f3ef716487a0.tar.gz |
Fix:maptool:Bounding box calculation corrected, avoid useless search words
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3560 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/linguistics.c')
-rw-r--r-- | navit/linguistics.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/navit/linguistics.c b/navit/linguistics.c index 6467c36b..9227d964 100644 --- a/navit/linguistics.c +++ b/navit/linguistics.c @@ -147,6 +147,20 @@ linguistics_next_word(char *str) return str+len+1; } +int +linguistics_search(char *str) +{ + if (!strcasecmp(str,"str")) + return 0; + if (!strcasecmp(str,"str.")) + return 0; + if (!strcasecmp(str,"strasse")) + return 0; + if (!strcasecmp(str,"weg")) + return 0; + return 1; +} + void linguistics_init(void) { |