diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2003-08-07 22:42:07 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2003-08-07 22:42:07 +0000 |
commit | 05ea3425ea11e406f24b6e95ba0f620b92155162 (patch) | |
tree | e34b1bdf4949d03d375c8d499ccc798614dea068 /games/moria | |
parent | . Some missed instances where we should be using time_t rather than long (diff) |
. Fix alignment of the experience display when you have > 1,000,000
experience.
Obtained from: NetBSD
Notes
Notes:
svn path=/head/; revision=86527
Diffstat (limited to 'games/moria')
-rw-r--r-- | games/moria/files/patch-source::misc3.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/games/moria/files/patch-source::misc3.c b/games/moria/files/patch-source::misc3.c new file mode 100644 index 000000000000..9c0328bb782a --- /dev/null +++ b/games/moria/files/patch-source::misc3.c @@ -0,0 +1,40 @@ +$FreeBSD$ + +--- source/misc3.c.orig Fri Jul 22 11:47:30 1994 ++++ source/misc3.c Sat Oct 16 16:59:14 1999 +@@ -283,7 +283,7 @@ + { + vtype out_val; + +- (void) sprintf(out_val, "%s: %6ld", header, num); ++ (void) sprintf(out_val, "%s:%7ld", header, num); + put_buffer(out_val, row, column); + } + +@@ -317,7 +317,7 @@ + { + vtype out_val; + +- (void) sprintf(out_val, "%6ld", num); ++ (void) sprintf(out_val, "%7ld", num); + put_buffer(out_val, row, column); + } + +@@ -481,7 +481,7 @@ + /* Prints current gold -RAK- */ + void prt_gold() + { +- prt_long(py.misc.au, 20, STAT_COLUMN+6); ++ prt_long(py.misc.au, 20, STAT_COLUMN+5); + } + + +@@ -2070,7 +2070,7 @@ + if (p_ptr->exp > p_ptr->max_exp) + p_ptr->max_exp = p_ptr->exp; + +- prt_long(p_ptr->exp, 14, STAT_COLUMN+6); ++ prt_long(p_ptr->exp, 14, STAT_COLUMN+5); + } + + |