diff --git a/HJCacheClasses/HJManagedImageV.m b/HJCacheClasses/HJManagedImageV.m index e7b1043..8c224fa 100755 --- a/HJCacheClasses/HJManagedImageV.m +++ b/HJCacheClasses/HJManagedImageV.m @@ -132,7 +132,7 @@ -(void) setImage:(UIImage*)theImage { [imageView removeFromSuperview]; self.imageView = [[[UIImageView alloc] initWithImage:theImage] autorelease]; imageView.contentMode = UIViewContentModeScaleAspectFit; - imageView.autoresizingMask = ( UIViewAutoresizingFlexibleWidth || UIViewAutoresizingFlexibleHeight ); + imageView.autoresizingMask = ( UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight ); [self addSubview:imageView]; imageView.frame = self.bounds; [imageView setNeedsLayout];