From 611672176e68b8eb72d1ef7507ed6576eae1a032 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Thu, 29 Aug 2013 11:38:12 +0300 Subject: [PATCH] [ios] Fixed guide click --- iphone/Maps/Settings/CountriesViewController.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];