diff -r 4b36933dce1d -r 23c50be687a9 cocoaTouch/MapConfigViewController.m --- a/cocoaTouch/MapConfigViewController.m Sat May 15 09:21:25 2010 +0000 +++ b/cocoaTouch/MapConfigViewController.m Sun May 16 17:23:30 2010 +0000 @@ -254,8 +254,9 @@ // the % prevents a strange bug that occurs sporadically NSString *themeName = [self.themeArray objectAtIndex:row % [self.themeArray count]]; cell.textLabel.text = themeName; - UIImage *image = [UIImage imageWithContentsOfFile:[NSString stringWithFormat:@"%@/%@/Icon.png",THEMES_DIRECTORY(),themeName]]; - cell.imageView.image = [image scaleToSize:CGSizeMake(40, 40)]; + UIImage *image = [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/%@/Icon.png",THEMES_DIRECTORY(),themeName]]; + cell.imageView.image = image; + [image release]; } else { cell.textLabel.text = [self.mapArray objectAtIndex:row]; cell.imageView.image = nil;