1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

. Fix alignment of the experience display when you have > 1,000,000

experience.

Obtained from:	NetBSD
This commit is contained in:
Greg Lewis 2003-08-07 22:42:07 +00:00
parent d8dd7bab7b
commit 05ea3425ea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86527

View File

@ -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);
}