mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
max number of items tested on wrong variable. Corrected
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11434 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
db7b620c03
commit
2d05b22a9f
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ static NSNotificationCenter *nc;
|
|||
- (int) numberOfVisibleItems { return _visibleItems; }
|
||||
- (void) setNumberOfVisibleItems: (int)visibleItems
|
||||
{
|
||||
if (_visibleItems > 10)
|
||||
if (visibleItems > 10)
|
||||
_visibleItems = visibleItems;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue