Source/QuartzUtils.m
changeset 24 db8640a38faf
parent 11 436cbdf56810
child 25 b53fa38013fc
     1.1 --- a/Source/QuartzUtils.m	Sat Jul 05 17:46:43 2008 -0700
     1.2 +++ b/Source/QuartzUtils.m	Thu Jul 31 20:01:26 2008 -0700
     1.3 @@ -69,7 +69,7 @@
     1.4  {
     1.5  #if TARGET_OS_IPHONE
     1.6      UIImage *uiImage = [UIImage imageWithContentsOfFile: path];
     1.7 -    if(!uiImage) NSLog(@"Warning: UIImage imageWithContentsOfFile failed on file %@",path);
     1.8 +    if(!uiImage) Warn(@"UIImage imageWithContentsOfFile failed on file %@",path);
     1.9      return CGImageRetain(uiImage.CGImage);
    1.10  #else
    1.11      CGImageRef image = NULL;
    1.12 @@ -78,7 +78,7 @@
    1.13      if( src ) {
    1.14          image = CGImageSourceCreateImageAtIndex(src, 0, NULL);
    1.15          CFRelease(src);
    1.16 -        if(!image) NSLog(@"Warning: CGImageSourceCreateImageAtIndex failed on file %@ (ptr size=%u)",path,sizeof(void*));
    1.17 +        if(!image) Warn(@"CGImageSourceCreateImageAtIndex failed on file %@ (ptr size=%u)",path,sizeof(void*));
    1.18      }
    1.19      return image;
    1.20  #endif