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); }