summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220>2015-05-17 13:56:08 +0000
committermdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220>2015-05-17 13:56:08 +0000
commit9f190f2daea4e6c767a844d842f2cc024ea5fe86 (patch)
tree0c7a0abed7a26d5f6e087a588748bfe0274380a1
parent9edcab85d7c70e220956f6a569725bba3b76a8b2 (diff)
downloadnavit-9f190f2daea4e6c767a844d842f2cc024ea5fe86.tar.gz
Fix:core:Do not use exact unrounded meters (feet) for distances to roundabout unless it's explicitly required.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@6095 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rw-r--r--navit/navigation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/navigation.c b/navit/navigation.c
index 3c2d4d578..2ecd13bf6 100644
--- a/navit/navigation.c
+++ b/navit/navigation.c
@@ -958,7 +958,7 @@ get_distance(struct navigation *nav, int dist, enum attr_type type, int is_lengt
int imperial=0,vocabulary=65535;
struct attr attr;
- if (type == attr_navigation_long) {
+ if (type == attr_navigation_long_exact) {
if (is_length)
return g_strdup_printf(_("%d m"), dist);
else