diff options
author | B. Watson <yalhcru@gmail.com> | 2021-04-28 16:28:39 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2021-04-28 16:28:39 -0400 |
commit | 682bb2a6174a30578f1dd770ebd3d1f39938bf6c (patch) | |
tree | 3b68e0db3510d08d6e1388170d95d620ce9f1f1b | |
parent | 5faf0c949468cf72d1dfd0e52369ab2d26760fd7 (diff) | |
download | taipan-682bb2a6174a30578f1dd770ebd3d1f39938bf6c.tar.gz |
Fix "3 years and 12 months" bug
-rw-r--r-- | taipan.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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); |