adium 2416:0eb4e7fbf3ba: It helps to *not* return nil here.
commits at adium.im
commits at adium.im
Sun May 31 01:33:36 UTC 2009
details: http://hg.adium.im/adium/rev/0eb4e7fbf3ba
revision: 2416:0eb4e7fbf3ba
author: Zachary West <zacw at adium.im>
date: Sat May 30 21:33:27 2009 -0400
It helps to *not* return nil here.
diffs (12 lines):
diff -r bbed84b1bd5c -r 0eb4e7fbf3ba Frameworks/AIUtilities Framework/Source/AIImageAdditions.m
--- a/Frameworks/AIUtilities Framework/Source/AIImageAdditions.m Sat May 30 18:05:31 2009 -0400
+++ b/Frameworks/AIUtilities Framework/Source/AIImageAdditions.m Sat May 30 21:33:27 2009 -0400
@@ -339,7 +339,7 @@
data = [imageRep representationUsingType:fileType properties:nil];
}
- return nil;
+ return data;
}
@end
More information about the commits
mailing list