From 3a47198db8fa9ee2f68ce7817cabb3ef9438a615 Mon Sep 17 00:00:00 2001 From: ljulliar Date: Tue, 20 Nov 2001 15:53:49 +0000 Subject: [PATCH] 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 --- Source/NSComboBoxCell.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/NSComboBoxCell.m b/Source/NSComboBoxCell.m index dce9a302c..1c3345ab2 100644 --- a/Source/NSComboBoxCell.m +++ b/Source/NSComboBoxCell.m @@ -123,7 +123,7 @@ static NSNotificationCenter *nc; - (int) numberOfVisibleItems { return _visibleItems; } - (void) setNumberOfVisibleItems: (int)visibleItems { - if (_visibleItems > 10) + if (visibleItems > 10) _visibleItems = visibleItems; }