diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2015-12-16 11:45:33 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-12-16 15:48:55 -0800 |
commit | ff928a3013df5ef18817ffa95459cd8b35ec5117 (patch) | |
tree | 5720efdc45681cec018d5ad90229973142843f04 /ios | |
parent | 350cafb9036e4639e3417b15b17a54582017302f (diff) | |
download | qtlocation-mapboxgl-ff928a3013df5ef18817ffa95459cd8b35ec5117.tar.gz |
[ios] Fixed off-by-one error due to merge
This needs to be converted into a giant switch statement, but that wouldn’t prevent issues like this cropping up in a merge anyways.
Diffstat (limited to 'ios')
-rw-r--r-- | ios/app/MBXViewController.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/app/MBXViewController.mm b/ios/app/MBXViewController.mm index d5ef815351..31b62ca6d0 100644 --- a/ios/app/MBXViewController.mm +++ b/ios/app/MBXViewController.mm @@ -262,7 +262,7 @@ static const CLLocationCoordinate2D WorldTourDestinations[] = { { [self.mapView removeAnnotations:self.mapView.annotations]; } - else if (buttonIndex == actionSheet.firstOtherButtonIndex + 9) + else if (buttonIndex == actionSheet.firstOtherButtonIndex + 10) { [self insertCustomStyleLayer]; } |