From f1db87433864f0cb1ec78d3ca9f53d2ea4bce533 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Mon, 21 Mar 2016 00:36:32 +0100 Subject: [PATCH] bugfix --- core.lua | 2 +- tooltip.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core.lua b/core.lua index dfd72e7..145da67 100644 --- a/core.lua +++ b/core.lua @@ -1,5 +1,5 @@ Aux = { - version = '2.8.4', + version = '2.8.5', blizzard_ui_shown = false, orig = {}, } diff --git a/tooltip.lua b/tooltip.lua index 0d4dd7b..9502217 100644 --- a/tooltip.lua +++ b/tooltip.lua @@ -99,7 +99,7 @@ function private.extend_tooltip(tooltip, hyperlink, quantity) local price = Aux.merchant.info(item_id) if price ~= 0 then - tooltip:AddLine('Vendor Sell: '..Aux.util.format_money(price), color.r, color.g, color.b) + tooltip:AddLine('Vendor Sell: '..(price and Aux.util.format_money(price) or GRAY_FONT_COLOR_CODE..'---'..FONT_COLOR_CODE_CLOSE), color.r, color.g, color.b) end end