Skip to content

Commit 21065dc

Browse files
committed
Minor styling
1 parent e128010 commit 21065dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Terminal Notifier/AppDelegate.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,8 @@ - (void)applicationDidFinishLaunching:(NSNotification *)notification;
206206
- (NSImage*)getImageFromURL:(NSString *) url;
207207
{
208208
NSURL *imageURL = [NSURL URLWithString:url];
209-
if([[imageURL scheme] length] == 0){ // Prefix file:// if no scheme
209+
if([[imageURL scheme] length] == 0){
210+
// Prefix 'file://' if no scheme
210211
url = [NSString stringWithFormat:@"%@%@", @"file://", url];
211212
imageURL = [NSURL URLWithString:url];
212213
}

0 commit comments

Comments
 (0)