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:
authorrachytski <siarhei.rachytski@gmail.com>2012-06-29 03:02:38 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:40:22 +0300
commit20b41c29fd6ceeab82ff9148bc97297fc2eee7d0 (patch)
tree26a7c814d08fd87f42593227c9338989e203cf81 /map/country_status_display.cpp
parent37753a95ae45f40129b4f4f13bd9266f193fc9df (diff)
closes #893
Diffstat (limited to 'map/country_status_display.cpp')
-rw-r--r--map/country_status_display.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/map/country_status_display.cpp b/map/country_status_display.cpp
index 85e851bc01..156b303a60 100644
--- a/map/country_status_display.cpp
+++ b/map/country_status_display.cpp
@@ -35,7 +35,11 @@ void CountryStatusDisplay::cache()
if (udn.size() > 13)
{
if (strings::MakeUniString(m_mapName).size() > 13)
- dn = m_mapName + "\n" + "(" + m_mapGroupName + ")";
+ {
+ dn = m_mapName;
+ if (!m_mapGroupName.empty())
+ dn = dn + "\n"+ "(" + m_mapGroupName + ")";
+ }
prefixedName = "\n" + dn;
postfixedName = dn + "\n";