diff options
author | Nathan Vance <nathav63@gmail.com> | 2015-03-19 17:47:35 -0400 |
---|---|---|
committer | Nathan Vance <nathav63@gmail.com> | 2015-03-19 17:47:35 -0400 |
commit | 6946460b7752ddd9b4f77ff4d28dbff9bda247b1 (patch) | |
tree | 8b1f0cb15e4163f2dd77deed3718dec50b908b2e /trade.c | |
parent | Fixed bug causing trade to print incorrectly (diff) | |
download | 7w-6946460b7752ddd9b4f77ff4d28dbff9bda247b1.tar.gz 7w-6946460b7752ddd9b4f77ff4d28dbff9bda247b1.tar.bz2 7w-6946460b7752ddd9b4f77ff4d28dbff9bda247b1.zip |
ui and trading bug fixes
Diffstat (limited to 'trade.c')
-rw-r--r-- | trade.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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])); |