Fix BOOL accessors to return a genuine boolean (YES or NO)

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22413 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2006-02-02 21:16:55 +00:00
parent 98bc434e88
commit 34d79dd427
8 changed files with 163 additions and 156 deletions

View file

@ -188,7 +188,7 @@ static NSDictionary *TypeInfoForName (NSArray *types, NSString *typeName)
- (BOOL) shouldCreateUI
{
return _controllerFlags.shouldCreateUI;
return (_controllerFlags.shouldCreateUI ? YES : NO);
}
- (void) setShouldCreateUI: (BOOL)flag