Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLev Dragunov <l.dragunov@corp.mail.ru>2015-08-03 16:22:13 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:58:52 +0300
commit97cfc302448d85b23726df787a4c523c26d20414 (patch)
tree3ac86f2489a8ee66833bb533a800dbb6dc795863 /map/framework.cpp
parentdc53fa63fb4c3451b238155c104dacebfe2e6577 (diff)
Android UI integration.
Diffstat (limited to 'map/framework.cpp')
-rw-r--r--map/framework.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/map/framework.cpp b/map/framework.cpp
index bf580c10a3..162dc4ebc7 100644
--- a/map/framework.cpp
+++ b/map/framework.cpp
@@ -2114,7 +2114,7 @@ void Framework::BuildRoute(m2::PointD const & destination, uint32_t timeoutSec)
for (string const & name : route.GetAbsentCountries())
{
storage::TIndex fileIndex = m_storage.FindIndexByFile(name);
- if (m_storage.GetLatestLocalFile(fileIndex))
+ if (m_storage.GetLatestLocalFile(fileIndex) && code != IRouter::FileTooOld)
absentRoutingIndexes.push_back(fileIndex);
else
absentCountries.push_back(fileIndex);