Changeset 9184


Ignore:
Timestamp:
Sep 26, 2009, 4:31:00 PM (12 years ago)
Author:
livings124
Message:

always get favicons from http://

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r9183 r9184  
    905905            NSString * baseAddress;
    906906            if ([hostComponents count] > 1)
    907                 baseAddress = [NSString stringWithFormat: @"%@://%@.%@", [address scheme],
     907                baseAddress = [NSString stringWithFormat: @"http://%@.%@",
    908908                                [hostComponents objectAtIndex: [hostComponents count] - 2], [hostComponents lastObject]];
    909909            else
    910                 baseAddress = [NSString stringWithFormat: @"%@://%@", [address scheme], [hostComponents lastObject]];
     910                baseAddress = [NSString stringWithFormat: @"http://%@", [hostComponents lastObject]];
    911911           
    912912            id icon = [fTrackerIconCache objectForKey: baseAddress];
Note: See TracChangeset for help on using the changeset viewer.