diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-05-15 22:18:01 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-05-15 22:18:01 +0000 |
commit | 34b7609ab2a3489a289ff69005d82e39e0df1d38 (patch) | |
tree | aad7994759d487f7d4c9b1c55eb23c9aa5ca99d8 /app/cwm/search.c | |
parent | 8922e68dbc998b43da1c7c904799e15902248495 (diff) |
KNF, no binary change.
From Pierre Riteau. Thanks!
Diffstat (limited to 'app/cwm/search.c')
-rw-r--r-- | app/cwm/search.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/cwm/search.c b/app/cwm/search.c index 031d245d5..ee6058dd6 100644 --- a/app/cwm/search.c +++ b/app/cwm/search.c @@ -14,7 +14,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: search.c,v 1.8 2008/04/15 20:24:41 oga Exp $ + * $Id: search.c,v 1.9 2008/05/15 22:18:00 oga Exp $ */ #include "headers.h" @@ -104,7 +104,7 @@ search_start(struct menu_q *menuq, switch (e.type) { case KeyPress: if (input_keycodetrans(e.xkey.keycode, e.xkey.state, - &ctl, &chr, 1) < 0) + &ctl, &chr, 1) < 0) continue; switch (ctl) { @@ -184,8 +184,8 @@ search_start(struct menu_q *menuq, if (TAILQ_EMPTY(&resultq) && list) { /* Copy them all over. */ TAILQ_FOREACH(mi, menuq, entry) - TAILQ_INSERT_TAIL(&resultq, mi, - resultentry); + TAILQ_INSERT_TAIL(&resultq, mi, + resultentry); listing = 1; } else if (mutated) @@ -209,7 +209,7 @@ search_start(struct menu_q *menuq, } dx = MAX(dx, font_width(font, text, - MIN(strlen(text), MENU_MAXENTRY))); + MIN(strlen(text), MENU_MAXENTRY))); dy += fontheight; } |