Permalink
Browse files

shaddup

  • Loading branch information...
Geoff Norton
Geoff Norton committed Jul 6, 2010
1 parent 7933cb7 commit 2ba43a8288fc0a2897f4584e59bed857e1d29a3c
Showing with 0 additions and 3 deletions.
  1. +0 −3 Player2/Classes/PluginFlashView.m
@@ -276,10 +276,8 @@ - (UIImage *)scaleImage:(UIImage *) image maxWidth:(float) maxWidth maxHeight:(f
CGFloat width = CGImageGetWidth(imgRef);
CGFloat height = CGImageGetHeight(imgRef);
-NSLog (@"SCALE: %fx%f CAP: %fx%f", width, height, maxWidth, maxHeight);
if (width <= maxWidth && height <= maxHeight)
{
-NSLog (@"SCALE: bail");
return image;
}
@@ -290,7 +288,6 @@ - (UIImage *)scaleImage:(UIImage *) image maxWidth:(float) maxWidth maxHeight:(f
{
CGFloat ratio = width/height;
-NSLog (@"SCALE: ratio: %f", ratio);
if (ratio > 1)
{
bounds.size.width = maxWidth;

0 comments on commit 2ba43a8

Please sign in to comment.