From 066f93f7719e2667a64ac983db612410d7d55916 Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 1 Jul 2015 14:36:42 +0000 Subject: style --- search.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'search.c') diff --git a/search.c b/search.c index ccb6c88..44311fd 100644 --- a/search.c +++ b/search.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: search.c,v 1.47 2015/07/01 14:29:36 okan Exp $ + * $OpenBSD: search.c,v 1.48 2015/07/01 14:36:42 okan Exp $ */ #include @@ -134,7 +134,7 @@ search_print_cmd(struct menu *mi, int i) special = 1; (void)snprintf(mi->print, sizeof(mi->print), - (special) ? "[%s]" : "%s", cmd->name); + (special) ? "[%s]" : "%s", cmd->name); } void @@ -152,8 +152,8 @@ search_print_client(struct menu *mi, int list) cc->matchname = cc->name; (void)snprintf(mi->print, sizeof(mi->print), "(%d) %c[%s] %s", - cc->group ? cc->group->num : 0, flag, - cc->label ? cc->label : "", cc->matchname); + (cc->group) ? cc->group->num : 0, flag, + (cc->label) ? cc->label : "", cc->matchname); } static void -- cgit v1.2.3-2-gb3c3