Minor improvement.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20193 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-10-04 00:17:16 +00:00
parent 78f716b8b8
commit 26197a8363

View file

@ -714,6 +714,11 @@ static BOOL done_editing;
{ {
[object setImage: image]; [object setImage: image];
} }
else
{
return NO;
}
return YES; return YES;
} }
else if([types containsObject: GormSoundPboardType] == YES) else if([types containsObject: GormSoundPboardType] == YES)
@ -724,6 +729,11 @@ static BOOL done_editing;
{ {
[object setSound: [NSSound soundNamed: name]]; [object setSound: [NSSound soundNamed: name]];
} }
else
{
return NO;
}
return YES; return YES;
} }
} }