[gaim-migrate @ 14951]

Thu, 22 Dec 2005 04:03:06 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Thu, 22 Dec 2005 04:03:06 +0000
changeset 12615
db57d3d9a9df
parent 12614
60587b3da220
child 12616
ca6132b9bfe2

[gaim-migrate @ 14951]
Whitespace fixes so I can actually understand what was happening here.

src/prefs.c file | annotate | diff | comparison | revisions
--- 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");
 			}
 		}

mercurial