Changeset 869

Show
Ignore:
Timestamp:
06/16/04 14:56:17 (4 years ago)
Author:
morris
Message:

url is the key, not the image

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Footagehead/trunk/FHCache.m

    r866 r869  
    1 /* $Id: FHCache.m,v 1.1 2004/06/14 23:36:06 morris Exp $ */ 
     1/* $Id: FHCache.m,v 1.2 2004/06/16 12:56:17 morris Exp $ */ 
    22 
    33/* 
     
    111111+ (void)setImage:(NSImage *)image forURL:(NSURL *)url { 
    112112        if(!image) { 
    113                 [images removeObjectForKey:image]; 
     113                [images removeObjectForKey:url]; 
    114114        } else { 
    115115                if([images count] > 5)