qulogic/libgnt

Simplify some confusing code
release-2.x.y v2.10.8 v2.10.9
2013-02-26, Daniel Atallah
fabc15bbea63
Simplify some confusing code
  • +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