[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pidgin-commits
Subject:    /pidgin/main: abc9e0edacc9: Simplify some confusing code
From:       Daniel Atallah <datallah () pidgin ! im>
Date:       2013-02-27 1:48:47
Message-ID: hg.abc9e0edacc9.1361929727.-874508059 () rock ! pidgin ! im
[Download RAW message or body]

Changeset: abc9e0edacc9299692d15967d7d426f5f7c41c38
Author:	 Daniel Atallah <datallah@pidgin.im>
Date:	 2013-02-26 20:39 -0500
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/abc9e0edacc9

Description:

Simplify some confusing code

diffstat:

 finch/libgnt/gntwm.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (16 lines):

diff --git a/finch/libgnt/gntwm.c b/finch/libgnt/gntwm.c
--- a/finch/libgnt/gntwm.c
+++ b/finch/libgnt/gntwm.c
@@ -1252,7 +1252,11 @@ ignore_keys_start(GntBindable *bindable,
 static gboolean
 ignore_keys_end(GntBindable *bindable, GList *n)
 {
-	return ignore_keys ? !(ignore_keys = FALSE) : FALSE;
+	if (ignore_keys) {
+		ignore_keys = FALSE;
+		return TRUE;
+	}
+	return FALSE;
 }
 
 static gboolean

_______________________________________________
Commits mailing list
Commits@pidgin.im
http://pidgin.im/cgi-bin/mailman/listinfo/commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic