qulogic/libgnt
Clone
Summary
Browse
Changes
Graph
Simplify some confusing code
release-2.x.y
v2.10.8
v2.10.9
2013-02-26, Daniel Atallah
fabc15bbea63
Parents
46fa3734b5fe
Children
82b581ba5822
2e4ab66cdbcf
Simplify some confusing code
1 files changed, 5 insertions(+), 1 deletions(-)
+5
-1
gntwm.c
--- a/gntwm.c Mon Aug 13 21:02:27 2012 -0400
+++ b/gntwm.c Tue Feb 26 20:39:20 2013 -0500
@@ -1252,7 +1252,11 @@
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