adium 3072:013794d72087: Fix a test failure.

commits at adium.im commits at adium.im
Thu Dec 24 06:51:56 UTC 2009


details:	http://hg.adium.im/adium/rev/013794d72087
revision:	3072:013794d72087
author:		Stephen Holt <sholt at adium.im>
date:		Thu Dec 24 01:51:42 2009 -0500

Fix a test failure.

diffs (12 lines):

diff -r b21c2cff5c86 -r 013794d72087 Frameworks/AIUtilities Framework/Source/AIColorAdditions.m
--- a/Frameworks/AIUtilities Framework/Source/AIColorAdditions.m	Wed Dec 23 22:45:19 2009 -0500
+++ b/Frameworks/AIUtilities Framework/Source/AIColorAdditions.m	Thu Dec 24 01:51:42 2009 -0500
@@ -401,7 +401,7 @@
 		goto scanFailed;
 	}
 
-    return [NSColor colorWithCalibratedRed:(r/255) green:(g/255) blue:(b/255) alpha:(a/255)] ;
+    return [NSColor colorWithCalibratedRed:(r/(CGFloat)255.0f) green:(g/(CGFloat)255.0f) blue:(b/(CGFloat)255.0f) alpha:(a/(CGFloat)255.0f)] ;
 scanFailed:
 	return nil;
 }




More information about the commits mailing list