Add parenthesis to silence a compiler warning.

This commit is contained in:
wrstuden 2004-09-17 18:15:01 +00:00
parent 37db99c68f
commit 3f87739bc4
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: menu_sys.def,v 1.55 2004/08/14 15:51:08 dsl Exp $ */
/* $NetBSD: menu_sys.def,v 1.56 2004/09/17 18:15:01 wrstuden Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -150,7 +150,7 @@ init_menu(menudesc *m)
if (m->title && *(title = MSG_XLAT(m->title)) != 0) {
/* Allow multiple line titles */
for (tp = title; ep = strchr(tp, '\n'); tp = ep + 1) {
for (tp = title; (ep = strchr(tp, '\n')); tp = ep + 1) {
i = ep - tp;
wmax = MAX(wmax, i);
hadd++;