changeset 12615:e3ca84a8b551

[gaim-migrate @ 14951] Whitespace fixes so I can actually understand what was happening here. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 22 Dec 2005 04:03:06 +0000
parents 03153fbbed55
children eee2042ad4f4
files src/prefs.c
diffstat 1 files changed, 15 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/prefs.c	Thu Dec 22 03:42:59 2005 +0000
+++ b/src/prefs.c	Thu Dec 22 04:03:06 2005 +0000
@@ -1104,15 +1104,24 @@
 
 	/* Away -> Auto-Reply */
 	if (!gaim_prefs_exists("/core/away/auto_response/enabled") ||
-		!gaim_prefs_exists("/core/away/auto_response/idle_only")) {
+	    !gaim_prefs_exists("/core/away/auto_response/idle_only"))
+	{
 		gaim_prefs_add_string("/core/away/auto_reply", "awayidle");
-	} else {
-		if (!gaim_prefs_get_bool("/core/away/auto_response/enabled")) {
+	}
+	else
+	{
+		if (!gaim_prefs_get_bool("/core/away/auto_response/enabled"))
+		{
 			gaim_prefs_add_string("/core/away/auto_reply", "never");
-		} else {
-			if (gaim_prefs_get_bool("/core/away/auto_response/idle_only")) {
+		}
+		else
+		{
+			if (gaim_prefs_get_bool("/core/away/auto_response/idle_only"))
+			{
 				gaim_prefs_add_string("/core/away/auto_reply", "awayidle");
-			} else {
+			}
+			else
+			{
 				gaim_prefs_add_string("/core/away/auto_reply", "away");
 			}
 		}