diff options
author | oga | 2008-05-15 22:18:00 +0000 |
---|---|---|
committer | oga | 2008-05-15 22:18:00 +0000 |
commit | 6a2c99a2df8d170eda74cccacbb5a5225d617d21 (patch) | |
tree | 0c8e74b70b51716961b2eb2057f7a26aa4e58de4 /search.c | |
parent | 15b4ab26e054ad00b82c48c070089cdb52cc823c (diff) | |
download | cwm-6a2c99a2df8d170eda74cccacbb5a5225d617d21.tar.gz |
KNF, no binary change.
From Pierre Riteau. Thanks!
Diffstat (limited to '')
-rw-r--r-- | search.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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; } |