diff --git a/iphone/Maps/Settings/CountriesViewController.mm b/iphone/Maps/Settings/CountriesViewController.mm index f0ea52b007..9b09152a4a 100644 --- a/iphone/Maps/Settings/CountriesViewController.mm +++ b/iphone/Maps/Settings/CountriesViewController.mm @@ -501,7 +501,7 @@ static bool IsOurIndex(TIndex const & theirs, TIndex const & ours) NSIndexPath * indexPath = [v indexPathForCell:cell]; TIndex const index = CalculateIndex(m_index, indexPath); guides::GuideInfo info; - if (!GetFramework().GetGuideInfo(index, info)); + if (!GetFramework().GetGuideInfo(index, info)) return; NSURL * guideUrl = [NSURL URLWithString:[NSString stringWithUTF8String:info.GetAppID().c_str()]]; UIApplication * app = [UIApplication sharedApplication];