diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2018-02-21 12:39:06 +0300 |
---|---|---|
committer | Aleksandr Zatsepin <alexzatsepin@users.noreply.github.com> | 2018-03-05 12:02:52 +0300 |
commit | 5f33c204cc77066f89ae9cc881906eea27a83ffe (patch) | |
tree | 9db2f8e07f7fe2ef608e4bdcecdaac6af7cca9b4 /storage | |
parent | 2c14a0617716445466dffde8c80063779d9b252c (diff) |
Review fixes
Diffstat (limited to 'storage')
-rw-r--r-- | storage/storage.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/storage/storage.cpp b/storage/storage.cpp index 5e6f00ca7a..ae40df96c9 100644 --- a/storage/storage.cpp +++ b/storage/storage.cpp @@ -293,6 +293,12 @@ void Storage::RegisterAllLocalMaps(bool enableDiffs) i = j; } + if (minVersion > maxVersion) + { + minVersion = 0; + maxVersion = 0; + } + GetPlatform().GetMarketingService().SendPushWooshTag(marketing::kMapVersionMin, strings::to_string(minVersion)); GetPlatform().GetMarketingService().SendPushWooshTag(marketing::kMapVersionMax, |