Minor fixes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5790 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2000-01-15 12:40:34 +00:00
parent f735aba961
commit 037d8637e3
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Sat Jan 15 11:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Source/NSBrowser.m: Don't permit scrolling by negative values.
Sat Jan 15 07:29:37 2000 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSSavePanel.m ([-_initWithoutGModel]): Tidyup for

View file

@ -1421,7 +1421,7 @@
shiftAmount = _firstVisibleColumn;
// No amount to shift then nothing to do
if (shiftAmount == 0)
if (shiftAmount <= 0)
return;
// Notify the delegate
@ -1461,7 +1461,7 @@
shiftAmount = _lastColumnLoaded - _lastVisibleColumn;
// No amount to shift then nothing to do
if (shiftAmount == 0)
if (shiftAmount <= 0)
return;
// Notify the delegate