mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 20:36:22 +00:00
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:
parent
98bc434e88
commit
34d79dd427
8 changed files with 163 additions and 156 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue