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:
authorSergey Yershov <yershov@corp.mail.ru>2016-01-26 15:48:08 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:15:31 +0300
commit0c7fd087b3fe7275c24a2f019508eb635a5e4373 (patch)
tree02df5d26191f5407b4cbf5ac79a9bc5551922bb3
parent93755ce96f794e5b55e4d0af91e1a95b0abd1547 (diff)
[Old map downloader] Review fixes
-rw-r--r--defines.hpp2
-rw-r--r--map/framework.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/defines.hpp b/defines.hpp
index c9b4a8c1e5..3102b9b5d3 100644
--- a/defines.hpp
+++ b/defines.hpp
@@ -50,7 +50,7 @@
#define CELL2FEATURE_TMP_EXT ".c2f.tmp"
#define COUNTRIES_FILE "countries.txt"
-#define COUNTRIES_MIGRATE_FILE "countries_migrate.txt"
+#define COUNTRIES_MIGRATE_FILE "countries_migrate.txt"
#define WORLD_FILE_NAME "World"
#define WORLD_COASTS_FILE_NAME "WorldCoasts"
diff --git a/map/framework.cpp b/map/framework.cpp
index 6f3bf1dc1e..54e9414ec1 100644
--- a/map/framework.cpp
+++ b/map/framework.cpp
@@ -534,7 +534,7 @@ void Framework::RegisterAllMaps()
{
bool disableFastMigrate = false;
Settings::Get("DisableFastMigrate", disableFastMigrate);
- if(!disableFastMigrate && !m_storage.HaveDownloadedCountries())
+ if (!disableFastMigrate && !m_storage.HaveDownloadedCountries())
{
Migrate();
return;
@@ -931,7 +931,7 @@ void Framework::OnDownloadMapCallback(storage::TIndex const & countryIndex)
void Framework::OnDownloadRetryCallback(storage::TIndex const & countryIndex)
{
if (m_downloadCountryListener != nullptr)
- m_downloadCountryListener(countryIndex, -1);
+ m_downloadCountryListener(countryIndex, -1 /* option for retry downloading */);
else
m_activeMaps->RetryDownloading(countryIndex);
}