Mercurial > hg > early-roguelike
diff urogue/rip.c @ 281:4a3f4729257c
Merge the urogue and bugfix branches.
author | John "Elwin" Edwards |
---|---|
date | Fri, 15 Sep 2017 21:16:28 -0400 |
parents | 1bbdd13ec585 |
children | 0250220d8cdd |
line wrap: on
line diff
--- a/urogue/rip.c Fri Sep 15 20:51:10 2017 -0400 +++ b/urogue/rip.c Fri Sep 15 21:16:28 2017 -0400 @@ -169,7 +169,7 @@ mvaddstr(15, 28 - ((int)(strlen(buf) + 1) / 2), buf); killer = killname(monst,buf); mvaddstr(17, 28 - ((int)(strlen(killer) + 1) / 2), killer); - mvaddstr(18, 28, (sprintf(prbuf, "%2d", lt->tm_year), prbuf)); + mvaddstr(18, 26, (sprintf(prbuf, "%4d", 1900+lt->tm_year), prbuf)); move(LINES - 1, 0); mvaddstr(LINES - 1, 0, retstr);