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:
rfm 2006-02-02 21:16:55 +00:00
parent e5757e137f
commit 7d97327c27
8 changed files with 163 additions and 156 deletions

View file

@ -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