mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 20:40:57 +00:00
Fix for file extensions map
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4251 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fd3f6f5899
commit
804b24cbb8
1 changed files with 4 additions and 1 deletions
|
@ -314,6 +314,9 @@ static void addExtensionsForApplication(NSDictionary *info, NSString *app)
|
|||
NSLog(@"bad app NSTypes (type not a dictionary) - %@\n", app);
|
||||
return;
|
||||
}
|
||||
/*
|
||||
* Set 't' to the dictionary defining a particular file type.
|
||||
*/
|
||||
t = (NSDictionary*)o1;
|
||||
o1 = [t objectForKey: @"NSUnixExtensions"];
|
||||
if (o1 == nil)
|
||||
|
@ -341,7 +344,7 @@ static void addExtensionsForApplication(NSDictionary *info, NSString *app)
|
|||
}
|
||||
if ([d objectForKey: app] == NO)
|
||||
{
|
||||
[d setObject: o0 forKey: app];
|
||||
[d setObject: t forKey: app];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue