Corrected compilation problem on gcc < 3

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@14637 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2002-10-04 06:13:19 +00:00
parent d553c938c2
commit 7fb3cb11ff
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2002-10-04 Gregory John Casamento <greg_casamento@yahoo.com>
* GormInternalViewEditor.m: (dragExited:) move variable up for
compiling on gcc < 3. Problem found and patch submitted by
Fabien Vallon.
2002-09-21 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* GormTableViewEditor.m: removed (was moved in Palettes/3Containers

View file

@ -572,6 +572,8 @@
{
NSPasteboard *dragPb;
NSArray *types;
NSRect rect;
dragPb = [sender draggingPasteboard];
types = [dragPb types];
@ -582,7 +584,7 @@
}
NSRect rect = [_editedObject bounds];
rect = [_editedObject bounds];
rect.origin.x += 3;
rect.origin.y += 2;
rect.size.width -= 5;