[hackers] [surf] reordering functions. || Enno Boland (tox)

From: <hg_AT_suckless.org>
Date: Wed, 9 Sep 2009 19:54:15 +0000 (UTC)

changeset: 81:9545f5e48ce8
tag: tip
user: Enno Boland (tox) <tox_AT_s01.de>
date: Wed Sep 09 21:57:23 2009 +0200
files: surf.c
description:
reordering functions.

diff -r a77b4c033a8d -r 9545f5e48ce8 surf.c
--- a/surf.c Wed Sep 09 15:37:55 2009 +0200
+++ b/surf.c Wed Sep 09 21:57:23 2009 +0200
@@ -263,8 +263,7 @@
                 focus = BROWSER;
         for(i = 0; i < LENGTH(keys); i++) {
                 if(focus & keys[i].focus && ev->keyval == keys[i].keyval &&
- (CLEANMASK(ev->state) == keys[i].mod ||
- CLEANMASK(ev->state) & keys[i].mod)
+ CLEANMASK(ev->state) == keys[i].mod
                                 && keys[i].func) {
                         keys[i].func(c, &(keys[i].arg));
                         processed = TRUE;
Received on Wed Sep 09 2009 - 19:54:15 UTC

This archive was generated by hypermail 2.2.0 : Wed Sep 09 2009 - 20:00:07 UTC