diff --git a/iphone/Maps/Classes/PlacePreviewViewController.mm b/iphone/Maps/Classes/PlacePreviewViewController.mm index 0f20daaab9..1b3bb40e6c 100644 --- a/iphone/Maps/Classes/PlacePreviewViewController.mm +++ b/iphone/Maps/Classes/PlacePreviewViewController.mm @@ -315,8 +315,8 @@ typedef enum {APIPOINT, POI, MYPOSITION} Type; result = [NSString stringWithFormat:@"%.05f %.05f", m_apiPoint.m_lat, m_apiPoint.m_lon]; else result = [NSString stringWithFormat:@"%.05f %.05f", MercatorBounds::YToLat(m_point.y), MercatorBounds::XToLon(m_point.x)]; - NSLocale * decimalPointLocale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"]; - return [[[NSString alloc] initWithFormat:@"%@" locale:decimalPointLocale,result] autorelease]; + NSLocale * decimalPointLocale = [[[NSLocale alloc] initWithLocaleIdentifier:@"en_US"] autorelease]; + return [[[NSString alloc] initWithFormat:@"%@" locale:decimalPointLocale, result] autorelease]; } -(void)dealloc