From 6a2c99a2df8d170eda74cccacbb5a5225d617d21 Mon Sep 17 00:00:00 2001 From: oga Date: Thu, 15 May 2008 22:18:00 +0000 Subject: KNF, no binary change. From Pierre Riteau. Thanks! --- search.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'search.c') diff --git a/search.c b/search.c index 031d245..ee6058d 100644 --- a/search.c +++ b/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; } -- cgit v1.2.3-2-gb3c3