Fixed offset used in delegate calls

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15974 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
nico 2003-02-16 14:04:10 +00:00
parent 759987f762
commit c53f687ca5

View file

@ -147,7 +147,7 @@ static NSNotificationCenter *nc = nil;
{ {
if (NSMinY(r) >= p.y) if (NSMinY(r) >= p.y)
{ {
offset = i; offset = i - 1;
/* get the enclosing rect for the two views */ /* get the enclosing rect for the two views */
if (prev != nil) if (prev != nil)
@ -176,7 +176,7 @@ static NSNotificationCenter *nc = nil;
{ {
if (NSMinX(r) >= p.x) if (NSMinX(r) >= p.x)
{ {
offset = i; offset = i - 1;
/* get the enclosing rect for the two views */ /* get the enclosing rect for the two views */
if (prev != nil) if (prev != nil)