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:
Nicola Pero 2003-02-16 14:04:10 +00:00
parent 4221f51f1a
commit 913e8e34f4

View file

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