More pasteboard work

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17049 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2003-06-27 14:53:25 +00:00
parent 971194c387
commit 47bcd510bb
3 changed files with 6 additions and 12 deletions

View file

@ -188,9 +188,9 @@
NSArray *sendTypes = [info objectForKey: @"NSSendTypes"];
unsigned i;
for (i = 0; i < [types count]; i++)
for (i = 0; i < [originalTypes count]; i++)
{
fromType = [types objectAtIndex: i];
fromType = [originalTypes objectAtIndex: i];
if ([sendTypes containsObject: fromType] == YES)
{
break;
@ -258,7 +258,7 @@
/*
* Now get the service provider to do the job.
*/
GSPerformService(filterName, tmp, YES)
GSPerformService(filterName, tmp, YES);
/*
* Finally, make it available.
@ -551,7 +551,7 @@ static NSMapTable *mimeMap = NULL;
{
id<GSPasteboardObj> anObj;
anObj = [[self _pbs] pasteboardWithUniqueName];
anObj = [[self _pbs] pasteboardWithName: nil];
if (anObj)
{
NSString *aName;