summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-03-31 10:49:25 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-03-31 10:49:25 +0000
commita4f998fe16313b5715866596589211365533ec8a (patch)
tree61c2fb8777b9fe666d4f3de7bb7f702d52197767
parent1c5c2bdf72bf84f472a5e21af6145838694e2943 (diff)
downloadnavit-svn-a4f998fe16313b5715866596589211365533ec8a.tar.gz
Fix:Core:Return route position or destination even if route isn't complete
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit/navit@3106 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rw-r--r--route.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/route.c b/route.c
index a2f2b62f..89cbc69b 100644
--- a/route.c
+++ b/route.c
@@ -2860,10 +2860,12 @@ rm_rect_new(struct map_priv *priv, struct map_selection *sel)
{
struct map_rect_priv * mr;
dbg(1,"enter\n");
+#if 0
if (! route_get_pos(priv->route))
return NULL;
if (! route_get_dst(priv->route))
return NULL;
+#endif
#if 0
if (! priv->route->path2)
return NULL;