mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 21:58:06 +00:00
Fix bug 292878; support Tiger .webloc files. Patch by Wevah, r=me.
This commit is contained in:
parent
8c11ddb186
commit
731e7c2fc1
@ -66,6 +66,14 @@
|
||||
|
||||
CloseResFile(resRef);
|
||||
}
|
||||
|
||||
if (!ret) { // Look for valid plist data.
|
||||
NSDictionary *plist;
|
||||
if ((plist = [[NSDictionary alloc] initWithContentsOfFile:inFile])) {
|
||||
ret = [NSURL URLWithString:[plist objectForKey:@"URL"]];
|
||||
[plist release];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user