mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
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:
parent
f735aba961
commit
037d8637e3
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue