From bf585475e74f1bbfc6ee7d5b2dde71345308853a Mon Sep 17 00:00:00 2001 From: Tekkub Date: Sat, 29 Aug 2009 19:10:16 -0600 Subject: [PATCH] Stupid nils closes #10 --- GnomishVendorShrinker.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GnomishVendorShrinker.lua b/GnomishVendorShrinker.lua index e4508d6..9801876 100644 --- a/GnomishVendorShrinker.lua +++ b/GnomishVendorShrinker.lua @@ -268,7 +268,7 @@ local function Refresh() row.backdrop:Show() end - row:SetAlpha(searchstring and not name:lower():match(searchstring) and 0.5 or 1) + row:SetAlpha(searchstring and name and not name:lower():match(searchstring) and 0.5 or 1) row.icon:SetTexture(itemTexture) row.ItemName:SetText((numAvailable > -1 and ("["..numAvailable.."] ") or "").. color.. (name or "").. (itemStackCount > 1 and ("|r x"..itemStackCount) or ""))