Fix error in parsing url schem information from plist file

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27856 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-02-13 13:46:15 +00:00
parent ec51f7feaf
commit 53271d8bd3
2 changed files with 5 additions and 5 deletions

View file

@ -1,3 +1,7 @@
2009-02-12 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/make_services.m: Fix error parsing CFBundleURLTypes
2009-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/make_services.m: Check applications for CFBundleURLTypes

View file

@ -343,11 +343,7 @@ static void addSchemesForApplication(NSDictionary *info, NSString *app)
* Set 't' to the dictionary defining a particular file type.
*/
t = (NSDictionary*)o1;
if (o1 == nil)
{
o1 = [t objectForKey: @"CFBundleURLSchemes"];
}
o1 = [t objectForKey: @"CFBundleURLSchemes"];
if (o1 == nil)
{
continue;