From 682bb2a6174a30578f1dd770ebd3d1f39938bf6c Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 28 Apr 2021 16:28:39 -0400 Subject: Fix "3 years and 12 months" bug --- taipan.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'taipan.c') diff --git a/taipan.c b/taipan.c index 616a928..1dba7e1 100644 --- a/taipan.c +++ b/taipan.c @@ -2010,6 +2010,12 @@ void final_stats(void) // if (years != 1) cputc_s(); // cputs(" and "); print_msg(M_spc_and_spc); + + /* if you retire in e.g. december 1870, that's 9 years and 11 months, + not 9 years and 12 months. If you retire in january 1866, it should + read 1 year and 0 months (not 1 year and 1 month!). */ + month--; + cprintuchar(month); // cputs(" month"); print_msg(M_spc_month); -- cgit v1.2.3