diff options
author | billf <billf@FreeBSD.org> | 1999-07-04 17:26:16 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 1999-07-04 17:26:16 +0000 |
commit | 4822432874e997891c75df8d30dcab4c52d1a9fa (patch) | |
tree | 6a75551fe39c6d09c4b5991bbb0a4f3d685835fe /usr.bin/ncal | |
parent | 7c7c72da3801ba6f43e728ff5145b4988674abeb (diff) | |
download | FreeBSD-src-4822432874e997891c75df8d30dcab4c52d1a9fa.zip FreeBSD-src-4822432874e997891c75df8d30dcab4c52d1a9fa.tar.gz |
Clean up some ambiguous nested if/elses.
Diffstat (limited to 'usr.bin/ncal')
-rw-r--r-- | usr.bin/ncal/ncal.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ncal/ncal.c b/usr.bin/ncal/ncal.c index 0902177..03f48a9 100644 --- a/usr.bin/ncal/ncal.c +++ b/usr.bin/ncal/ncal.c @@ -26,7 +26,7 @@ #ifndef lint static const char rcsid[] = - "$Id: ncal.c,v 1.6 1998/01/15 10:23:34 helbig Exp $"; + "$Id: ncal.c,v 1.7 1999/03/27 21:08:13 helbig Exp $"; #endif /* not lint */ #include <calendar.h> @@ -482,7 +482,7 @@ printyear(int y, int jd_flag) mw, year[j + 2].lines[i], year[j + 3].lines[i]); } - if (flag_weeks) + if (flag_weeks) { if (mpl == 3) printf(" %-*s%-*s%-s\n", mw, year[j].weeks, @@ -494,6 +494,7 @@ printyear(int y, int jd_flag) mw, year[j + 1].weeks, mw, year[j + 2].weeks, year[j + 3].weeks); + } } } |