From b84acc55b968fdfc9c0381c85b128e7addc9941b Mon Sep 17 00:00:00 2001 From: Jaap Akkerhuis Date: Fri, 28 Nov 1986 00:42:45 -0800 Subject: [PATCH] Fixed casepm (thanks to bwk) SCCS-vsn: local/ditroff/ditroff.okeeffe/n3.c 2.3 SCCS-vsn: local/ditroff/ditroff.okeeffe/troff/n3.c 2.3 --- usr/src/local/ditroff/ditroff.okeeffe/n3.c | 4 ++-- usr/src/local/ditroff/ditroff.okeeffe/troff/n3.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/src/local/ditroff/ditroff.okeeffe/n3.c b/usr/src/local/ditroff/ditroff.okeeffe/n3.c index 3e01c4c72c..452ce1a07d 100644 --- a/usr/src/local/ditroff/ditroff.okeeffe/n3.c +++ b/usr/src/local/ditroff/ditroff.okeeffe/n3.c @@ -1,5 +1,5 @@ #ifndef lint -static char sccsid[] = "@(#)n3.c 2.2 (CWI) 85/08/14"; +static char sccsid[] = "@(#)n3.c 2.3 (CWI) 86/11/27"; #endif lint /* @(#)n3.c 1.1 */ /* @@ -885,7 +885,7 @@ casepm() kk = cnt = tcnt = 0; tot = !skip(); for (i = 0; i < NM; i++) { - if (!(xx = contab[i].rq)) + if ((xx = contab[i].rq) == 0 || contab[i].mx == 0) continue; tcnt++; p = pmline; diff --git a/usr/src/local/ditroff/ditroff.okeeffe/troff/n3.c b/usr/src/local/ditroff/ditroff.okeeffe/troff/n3.c index 3e01c4c72c..452ce1a07d 100644 --- a/usr/src/local/ditroff/ditroff.okeeffe/troff/n3.c +++ b/usr/src/local/ditroff/ditroff.okeeffe/troff/n3.c @@ -1,5 +1,5 @@ #ifndef lint -static char sccsid[] = "@(#)n3.c 2.2 (CWI) 85/08/14"; +static char sccsid[] = "@(#)n3.c 2.3 (CWI) 86/11/27"; #endif lint /* @(#)n3.c 1.1 */ /* @@ -885,7 +885,7 @@ casepm() kk = cnt = tcnt = 0; tot = !skip(); for (i = 0; i < NM; i++) { - if (!(xx = contab[i].rq)) + if ((xx = contab[i].rq) == 0 || contab[i].mx == 0) continue; tcnt++; p = pmline; -- 2.20.1