From 8a3cbc157981485adc947c0477dc3e4907acc9a3 Mon Sep 17 00:00:00 2001 From: wkj Date: Mon, 17 May 2004 02:23:43 +0000 Subject: Make tbl compile silently. --- src/cmd/tbl/tm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/cmd/tbl/tm.c') diff --git a/src/cmd/tbl/tm.c b/src/cmd/tbl/tm.c index 7bf49e53..8fa4e497 100644 --- a/src/cmd/tbl/tm.c +++ b/src/cmd/tbl/tm.c @@ -9,14 +9,14 @@ maknew(char *str) char *p, *q, *ba; p = str; - for (ba = 0; (c = *str); str++) + for (ba = 0; c = *str; str++) if (c == '\\' && *(str + 1) == '&') ba = str; str = p; if (ba == 0) { for (dpoint = 0; *str; str++) { if (*str == '.' && !ineqn(str, p) && - ((str > p && digit(*(str - 1))) || + (str > p && digit(*(str - 1)) || digit(*(str + 1)))) dpoint = (int)str; } @@ -37,7 +37,7 @@ maknew(char *str) exlim = exstore + MAXCHS; } q = exstore; - while ((*exstore++ = *str++)) + while (*exstore++ = *str++) ; *p = 0; return(q); @@ -50,7 +50,7 @@ ineqn (char *s, char *p) /* true if s is in a eqn within p */ int ineq = 0, c; - while ((c = *p)) { + while (c = *p) { if (s == p) return(ineq); p++; -- cgit v1.2.3