Minor changes in comments.

This commit is contained in:
vng 2012-04-05 16:04:40 +03:00 committed by Alex Zolotarev
parent ce13339937
commit 56dd086174

View file

@ -315,7 +315,10 @@ namespace fwork
string defaultName, intName;
f.GetPreferredDrawableNames(defaultName, intName);
if (m_zoom <= 5 && !intName.empty())
// draw country names and capitals on native language only
int const worldZoom = 5;
if (m_zoom <= worldZoom && !intName.empty())
{
defaultName.swap(intName);
intName.clear();
@ -325,7 +328,7 @@ namespace fwork
defaultName,
intName,
f.GetRoadNumber(),
(m_zoom > 5) ? f.GetPopulationDrawRank() : 0.0));
(m_zoom > worldZoom) ? f.GetPopulationDrawRank() : 0.0));
DrawerYG * pDrawer = GetDrawer();