Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/menuc Add parenthesis to silence a compiler warning.
details: https://anonhg.NetBSD.org/src/rev/f89ad7f95351
branches: trunk
changeset: 570007:f89ad7f95351
user: wrstuden <wrstuden%NetBSD.org@localhost>
date: Fri Sep 17 18:15:01 2004 +0000
description:
Add parenthesis to silence a compiler warning.
diffstat:
usr.bin/menuc/menu_sys.def | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r f9f8aaf1600d -r f89ad7f95351 usr.bin/menuc/menu_sys.def
--- a/usr.bin/menuc/menu_sys.def Fri Sep 17 18:05:27 2004 +0000
+++ b/usr.bin/menuc/menu_sys.def Fri Sep 17 18:15:01 2004 +0000
@@ -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 @@
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++;
Home |
Main Index |
Thread Index |
Old Index