Permalink
Browse files

Fixed indentation and curly braces issues

  • Loading branch information...
drchiu
drchiu committed Dec 26, 2012
1 parent 38364ea commit 3ac68d1c0a2f5e9b58990b06398d190b6354a919
Showing with 4 additions and 5 deletions.
  1. +4 −5 DPSetupWindow.m
View
@@ -159,7 +159,7 @@ - (void)shift:(DPSetupWindowDirection)direction {
NSInteger nextStage = currentStage + direction;
if (nextStage == [[self viewControllers] count]) {
- [self deregisterObserversForViewController:previousViewController];
+ [self deregisterObserversForViewController:previousViewController];
[self completionHandler](YES);
return;
}
@@ -259,10 +259,9 @@ - (void)registerObserversForPreviousViewController:(NSViewController *)previousV
[nextViewController addObserver:self forKeyPath:@"canGoBack" options:(NSKeyValueObservingOptionNew|NSKeyValueObservingOptionOld) context:NULL];
}
-- (void)deregisterObserversForViewController:(NSViewController *)viewController
-{
- [viewController removeObserver:self forKeyPath:@"canContinue"];
- [viewController removeObserver:self forKeyPath:@"canGoBack"];
+- (void)deregisterObserversForViewController:(NSViewController *)viewController {
+ [viewController removeObserver:self forKeyPath:@"canContinue"];
+ [viewController removeObserver:self forKeyPath:@"canGoBack"];
}
- (void)resetButtonTitles {

0 comments on commit 3ac68d1

Please sign in to comment.