adium 2979:079ffd9b2a95: *sigh* The later it gets, the worst I r...

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


details:	http://hg.adium.im/adium/rev/079ffd9b2a95
revision:	2979:079ffd9b2a95
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.
(transplanted from bd512b533b9839640ab22bad4df38004f39c9706)

diffs (12 lines):

diff -r fba7dafa989e -r 079ffd9b2a95 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
@@ -668,7 +668,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