mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:00:37 +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
e5757e137f
commit
7d97327c27
8 changed files with 163 additions and 156 deletions
|
@ -4108,7 +4108,7 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
|
|||
|
||||
- (BOOL) needsDisplay
|
||||
{
|
||||
return _rFlags.needs_display;
|
||||
return (_rFlags.needs_display ? YES : NO);
|
||||
}
|
||||
|
||||
- (int) tag
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue