From c53f687ca5bebabf3d8395b1af864afa88df658c Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 16 Feb 2003 14:04:10 +0000 Subject: [PATCH] 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 --- Source/NSSplitView.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/NSSplitView.m b/Source/NSSplitView.m index f0b7d495c..e6a08c99a 100644 --- a/Source/NSSplitView.m +++ b/Source/NSSplitView.m @@ -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)