Fix for gcc < 3.x

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@17573 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2003-08-30 15:04:34 +00:00
parent e8c70b7dc2
commit b8f1c90ade
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2003-08-30 Gregory John Casamento <greg_casamento@yahoo.com>
* GormImageEditor.m: Minor correction to allow compilation with
gcc < 3.x. (found my Riccardo Mattola/grey_gandalf)
2003-08-28 Gregory John Casamento <greg_casamento@yahoo.com>
* GormDocument.m: Minor correction to allow compilation with

View file

@ -134,9 +134,10 @@ static int handled_mask= NSDragOperationCopy|NSDragOperationGeneric|NSDragOperat
printf("count %i\n",c);
for (i=0;i<c;i++)
{
id placeHolder = nil;
NSLog(@"====> %@",[data objectAtIndex:i]);
id placeHolder =
[(GormDocument *)document _createImagePlaceHolder: [data objectAtIndex: i]];
placeHolder = [(GormDocument *)document _createImagePlaceHolder: [data objectAtIndex: i]];
NSLog(@"here1 %@", [data objectAtIndex: i]);
if (placeHolder)