Correct indentation.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28901 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2009-10-28 07:47:14 +00:00
parent 9c7aff20ab
commit d5250aeb6b

View file

@ -447,6 +447,9 @@ static NSImage *spinningImages[MaxCount];
- (id)initWithCoder:(NSCoder *)aDecoder - (id)initWithCoder:(NSCoder *)aDecoder
{ {
self = [super initWithCoder: aDecoder]; self = [super initWithCoder: aDecoder];
if (!self)
return nil;
if ([aDecoder allowsKeyedCoding]) if ([aDecoder allowsKeyedCoding])
{ {
// id matrix = [aDecoder decodeObjectForKey: @"NSDrawMatrix"]; // id matrix = [aDecoder decodeObjectForKey: @"NSDrawMatrix"];
@ -511,7 +514,11 @@ static NSImage *spinningImages[MaxCount];
@implementation NSProgressIndicator (GNUstepExtensions) @implementation NSProgressIndicator (GNUstepExtensions)
- (BOOL)isVertical { return _isVertical; } - (BOOL)isVertical
{
return _isVertical;
}
- (void)setVertical:(BOOL)flag - (void)setVertical:(BOOL)flag
{ {
if (_isVertical != flag) if (_isVertical != flag)