diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-06-29 03:02:38 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:40:22 +0300 |
commit | 20b41c29fd6ceeab82ff9148bc97297fc2eee7d0 (patch) | |
tree | 26a7c814d08fd87f42593227c9338989e203cf81 /map/country_status_display.cpp | |
parent | 37753a95ae45f40129b4f4f13bd9266f193fc9df (diff) |
closes #893
Diffstat (limited to 'map/country_status_display.cpp')
-rw-r--r-- | map/country_status_display.cpp | 6 |
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"; |