Skip to content

Commit 6eae144

Browse files
committed
Change indentation
1 parent bffc20c commit 6eae144

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

Terminal Notifier/AppDelegate.m

+11-12
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,13 @@ - (NSString *)__bundleIdentifier;
4141
static BOOL
4242
isMavericks()
4343
{
44-
if (floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_8)
45-
{
46-
/* On a 10.8 - 10.8.x system */
47-
return NO;
48-
} else {
49-
/* 10.9 or later system */
50-
return YES;
51-
}
44+
if (floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_8) {
45+
/* On a 10.8 - 10.8.x system */
46+
return NO;
47+
} else {
48+
/* 10.9 or later system */
49+
return YES;
50+
}
5251
}
5352

5453
@implementation NSUserDefaults (SubscriptAndUnescape)
@@ -68,10 +67,10 @@ @implementation AppDelegate
6867
+(void)initializeUserDefaults
6968
{
7069
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
71-
70+
7271
// initialize the dictionary with default values depending on OS level
7372
NSDictionary *appDefaults;
74-
73+
7574
if (isMavericks())
7675
{
7776
//10.9
@@ -82,7 +81,7 @@ +(void)initializeUserDefaults
8281
//10.8
8382
appDefaults = @{@"": @"message"};
8483
}
85-
84+
8685
// and set them appropriately
8786
[defaults registerDefaults:appDefaults];
8887
}
@@ -215,7 +214,7 @@ - (void)deliverNotificationWithTitle:(NSString *)title
215214
userNotification.subtitle = subtitle;
216215
userNotification.informativeText = message;
217216
userNotification.userInfo = options;
218-
217+
219218
if (sound != nil) {
220219
userNotification.soundName = [sound isEqualToString: @"default"] ? NSUserNotificationDefaultSoundName : sound ;
221220
}

0 commit comments

Comments
 (0)