adium 3554:77be2b0e69e0: Fix for #14432, now for Trunk.

commits at adium.im commits at adium.im
Thu Nov 18 10:00:26 UTC 2010


details:	http://hg.adium.im/adium/rev/77be2b0e69e0
revision:	3554:77be2b0e69e0
author:		Robert Vehse
date:		Thu Nov 18 11:00:00 2010 +0100

Fix for #14432, now for Trunk.

diffs (18 lines):

diff -r 7139eb54c5cc -r 77be2b0e69e0 Source/AILoginController.m
--- a/Source/AILoginController.m	Wed Nov 17 16:23:57 2010 -0600
+++ b/Source/AILoginController.m	Thu Nov 18 11:00:00 2010 +0100
@@ -110,8 +110,14 @@
 			shouldShowWindow = (userRequestedShowWindow = [[loginDict objectForKey:LOGIN_SHOW_WINDOW] boolValue]);
 		if (!shouldShowWindow) {
 #ifdef DEBUG_BUILD
+	#ifndef RELEASE_BUILD
+			/* Support a different default user for 'Debug' builds but not for 'Release-Debug' builds.
+			 * The former are for developers, who may want this behavior.
+			 * The latter are for beta testers, who are more likely to be just confused (as per #14432).
+			 */
 			userName = [loginDict objectForKey:LOGIN_LAST_USER_DEBUG];
 			if (!userName)
+	#endif
 #endif
 				shouldShowWindow = ((userName = [loginDict objectForKey:LOGIN_LAST_USER]) == nil);
 		}




More information about the commits mailing list