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:
Diffstat (limited to 'iphone/Maps/Classes/MWMPlacePageEntity.mm')
-rw-r--r--iphone/Maps/Classes/MWMPlacePageEntity.mm5
1 files changed, 3 insertions, 2 deletions
diff --git a/iphone/Maps/Classes/MWMPlacePageEntity.mm b/iphone/Maps/Classes/MWMPlacePageEntity.mm
index 1423c2a549..71ce55ecf2 100644
--- a/iphone/Maps/Classes/MWMPlacePageEntity.mm
+++ b/iphone/Maps/Classes/MWMPlacePageEntity.mm
@@ -285,8 +285,9 @@ void initFieldsMap()
BOOL const useDMSFormat =
[[NSUserDefaults standardUserDefaults] boolForKey:kUserDefaultsLatLonAsDMSKey];
ms::LatLon const latlon = self.latlon;
- return @((useDMSFormat ? MeasurementUtils::FormatLatLon(latlon.lat, latlon.lon)
- : MeasurementUtils::FormatLatLonAsDMS(latlon.lat, latlon.lon, 2)).c_str());
+ return @((useDMSFormat ? measurement_utils::FormatLatLon(latlon.lat, latlon.lon)
+ : measurement_utils::FormatLatLonAsDMS(latlon.lat, latlon.lon, 2))
+ .c_str());
}
#pragma mark - Bookmark editing