adium-1.4 2828:bd512b533b98: *sigh* The later it gets, the worst...

commits at adium.im commits at adium.im
Thu Nov 26 06:15:17 UTC 2009


details:	http://hg.adium.im/adium-1.4/rev/bd512b533b98
revision:	2828:bd512b533b98
author:		Zachary West <zacw at adium.im>
date:		Thu Nov 26 01:15:12 2009 -0500

*sigh* The later it gets, the worst I read. Fix another using-value-as-key problem in this AILog.

diffs (12 lines):

diff -r a4ecbe8bed46 -r bd512b533b98 Frameworks/Adium Framework/Source/AIListObject.m
--- a/Frameworks/Adium Framework/Source/AIListObject.m	Thu Nov 26 00:58:50 2009 -0500
+++ b/Frameworks/Adium Framework/Source/AIListObject.m	Thu Nov 26 01:15:12 2009 -0500
@@ -666,7 +666,7 @@
 	
 	// Sanity check - are we trying to assign infinity?
 	if (orderIndexForObject == INFINITY) {
-		AILogWithSignature(@"Correcting for INFINITY index, inObj=%@ allObj=%@", listObject, [dict objectForKey:[NSNumber numberWithFloat:INFINITY]]);
+		AILogWithSignature(@"Correcting for INFINITY index, inObj=%@ allObj=%@", listObject, [newDict allKeysForObject:[NSNumber numberWithFloat:INFINITY]]);
 		
 		// Remove any objects that currently are currently set to INFINITY, they'll regenerate their position to the last place.
 		for (NSString *key in [newDict allKeysForObject:[NSNumber numberWithFloat:INFINITY]]) {




More information about the commits mailing list