diff options
author | glewis <glewis@FreeBSD.org> | 2003-08-08 06:42:07 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2003-08-08 06:42:07 +0800 |
commit | 790958ad355018f16cde76c7329076775e78b746 (patch) | |
tree | bc0b496f5dda7c59e5e07f600d82cd963528de61 /games | |
parent | 4ff7b8b385718b5fec2b08ff75b3142a627a79e2 (diff) | |
download | freebsd-ports-gnome-790958ad355018f16cde76c7329076775e78b746.tar.gz freebsd-ports-gnome-790958ad355018f16cde76c7329076775e78b746.tar.zst freebsd-ports-gnome-790958ad355018f16cde76c7329076775e78b746.zip |
. Fix alignment of the experience display when you have > 1,000,000
experience.
Obtained from: NetBSD
Diffstat (limited to 'games')
-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); + } + + |