Fixed some formatting stuff.

This commit is contained in:
Andy Matuschak committed 2008-05-30 22:31:47 -07:00
1 parent 49cfd57682
commit 57b5a17a0a
1 file changed
+3 -3
+3 -3
View File
@@ -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