Permalink
Browse files

refs #179: adjust pragma indentation for legibility

  • Loading branch information...
1 parent 90407b3 commit 8d11af513a592eea280f11765266301be5138b0e @incanus incanus committed Feb 4, 2013
Showing with 12 additions and 12 deletions.
  1. +9 −9 MapView/Map/RMMapView.m
  2. +3 −3 MapView/Map/RMMarker.m
View
@@ -3103,10 +3103,10 @@ - (void)setUserTrackingMode:(RMUserTrackingMode)mode animated:(BOOL)animated
[_locationManager stopUpdatingHeading];
if (self.userLocation)
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+ #pragma clang diagnostic push
+ #pragma clang diagnostic ignored "-Wdeprecated-declarations"
[self locationManager:_locationManager didUpdateToLocation:self.userLocation.location fromLocation:self.userLocation.location];
-#pragma clang diagnostic pop
+ #pragma clang diagnostic pop
if (_userLocationTrackingView || _userHeadingTrackingView || _userHaloTrackingView)
{
@@ -3195,10 +3195,10 @@ - (void)setUserTrackingMode:(RMUserTrackingMode)mode animated:(BOOL)animated
[self zoomByFactor:exp2f(3 - [self zoom]) near:self.center animated:YES];
if (self.userLocation)
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+ #pragma clang diagnostic push
+ #pragma clang diagnostic ignored "-Wdeprecated-declarations"
[self locationManager:_locationManager didUpdateToLocation:self.userLocation.location fromLocation:self.userLocation.location];
-#pragma clang diagnostic pop
+ #pragma clang diagnostic pop
[self updateHeadingForDeviceOrientation];
@@ -3521,10 +3521,10 @@ - (void)showAttribution:(id)sender
attributionViewController.modalTransitionStyle = UIModalTransitionStylePartialCurl;
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+ #pragma clang diagnostic push
+ #pragma clang diagnostic ignored "-Wdeprecated-declarations"
[_viewControllerPresentingAttribution presentModalViewController:attributionViewController animated:YES];
-#pragma clang diagnostic pop
+ #pragma clang diagnostic pop
}
}
View
@@ -250,10 +250,10 @@ - (void)changeLabelUsingText:(NSString *)text position:(CGPoint)position font:(U
[aLabel setBackgroundColor:backgroundColor];
[aLabel setTextColor:textColor];
[aLabel setFont:font];
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+ #pragma clang diagnostic push
+ #pragma clang diagnostic ignored "-Wdeprecated-declarations"
[aLabel setTextAlignment:UITextAlignmentCenter];
-#pragma clang diagnostic pop
+ #pragma clang diagnostic pop
[aLabel setText:text];
[self setLabel:aLabel];

0 comments on commit 8d11af5

Please sign in to comment.