mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-29 05:24:26 +00:00
Fixed some formatting stuff.
This commit is contained in:
1 parent
49cfd57682
commit
57b5a17a0a
1 file changed
+3
-3
@@ -48,9 +48,9 @@
|
||||
if (!iconPath)
|
||||
iconPath = [self pathForResource:[self objectForInfoDictionaryKey:@"CFBundleIconFile"] ofType: nil];
|
||||
NSImage *icon = [[[NSImage alloc] initWithContentsOfFile:iconPath] autorelease];
|
||||
if (icon)
|
||||
return icon; else // Use a default icon if none is defined.
|
||||
return [[NSWorkspace sharedWorkspace] iconForFileType:NSFileTypeForHFSTypeCode(kGenericApplicationIcon)];
|
||||
// Use a default icon if none is defined.
|
||||
if (!icon) { [[NSWorkspace sharedWorkspace] iconForFileType:NSFileTypeForHFSTypeCode(kGenericApplicationIcon)]; }
|
||||
return icon;
|
||||
}
|
||||
|
||||
- (BOOL)isRunningFromDiskImage
|
||||
|
||||
Reference in new issue
Block a user