From 05ea3425ea11e406f24b6e95ba0f620b92155162 Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Thu, 7 Aug 2003 22:42:07 +0000 Subject: [PATCH] . Fix alignment of the experience display when you have > 1,000,000 experience. Obtained from: NetBSD --- games/moria/files/patch-source::misc3.c | 40 +++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 games/moria/files/patch-source::misc3.c 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); + } + +