summaryrefslogtreecommitdiff
path: root/shop2/disp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'shop2/disp.lua')
-rw-r--r--shop2/disp.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/shop2/disp.lua b/shop2/disp.lua
index 8dcee89..58389a0 100644
--- a/shop2/disp.lua
+++ b/shop2/disp.lua
@@ -59,8 +59,8 @@ local function disp_shopscreen(items)
{1,2}, colors.lightGray, "Stock Price Adr. Name",
}
- local function fmt_row(y, idesc, amt, colour)
- colour = colour or colors.cyan
+ local function fmt_row(y, idesc, amt)
+ colour = idesc.colour or colors.white
printseq(mon) {
{1,y}, colors.white, pad(amt,5),
{8,y}, colors.yellow, pad(idesc.price,3), colors.lightGray, "kst",