From 6946460b7752ddd9b4f77ff4d28dbff9bda247b1 Mon Sep 17 00:00:00 2001 From: Nathan Vance Date: Thu, 19 Mar 2015 17:47:35 -0400 Subject: ui and trading bug fixes --- trade.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trade.c') diff --git a/trade.c b/trade.c index 4bfb625..002dcac 100644 --- a/trade.c +++ b/trade.c @@ -94,7 +94,7 @@ void trade_print(int x, int y, int player, int cursorx, int cursory) y = io_printtext(x, y, width, s); int i; for(i = 0; i < GOLD+1; i++) { - sprintf(s, "%-7s %d %c| %-7s %d %c", getname(i), west[i], (cursorx == 1 && cursory == i)? '*' : ' ', getname(i), east[i], (cursorx == 0 && cursory == i)? '*' : ' '); + sprintf(s, "%-7s%2d %c| %-7s %d %c", getname(i), west[i], (cursorx == 1 && cursory == i)? '*' : ' ', getname(i), east[i], (cursorx == 0 && cursory == i)? '*' : ' '); y = io_printtext(x, y, width, s); if(tradebuffer[1][i]) io_printcolor(x+10, y-1, 31, itoa(west[i])); -- cgit