adium-1.4 2968:85a9c8dac8fa: Select the last used debug user. Th...
commits at adium.im
commits at adium.im
Mon May 17 02:39:49 UTC 2010
details: http://hg.adium.im/adium-1.4/rev/85a9c8dac8fa
revision: 2968:85a9c8dac8fa
author: Stephen Holt <sholt at adium.im>
date: Mon Oct 19 00:19:01 2009 -0400
Select the last used debug user. This was lost in 31319803cafd
Reviewed by sholt.
(transplanted from 27b4b02d8712f50a8a38e57e20862a74e7d662dd)
diffs (15 lines):
diff -r 9132e566fda9 -r 85a9c8dac8fa Source/AILoginWindowController.m
--- a/Source/AILoginWindowController.m Sun May 16 23:54:52 2010 +0200
+++ b/Source/AILoginWindowController.m Mon Oct 19 00:19:01 2009 -0400
@@ -253,7 +253,11 @@
#endif
//Select the login they used last
+#if DEBUG_BUILD
+ lastLogin = [loginDict objectForKey:LOGIN_LAST_USER_DEBUG];
+#else
lastLogin = [loginDict objectForKey:LOGIN_LAST_USER];
+#endif
NSIndexSet *rowIndex;
if (lastLogin != nil && [lastLogin length] != 0 && [userArray indexOfObject:lastLogin] != NSNotFound) {
rowIndex = [NSIndexSet indexSetWithIndex:[userArray indexOfObject:lastLogin]];
More information about the commits
mailing list