From 0ed1a475a4ad09577c3925427ee08b2ecee7b0bf Mon Sep 17 00:00:00 2001 From: ackis Date: Tue, 21 Apr 2009 17:07:13 +0000 Subject: [PATCH] Fix dry-code mistake in ScanVendor function. --- ARLDatamine.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ARLDatamine.lua b/ARLDatamine.lua index cc99e67..a3da34d 100644 --- a/ARLDatamine.lua +++ b/ARLDatamine.lua @@ -226,7 +226,7 @@ function addon:ScanVendor() GameTooltip_SetDefaultAnchor(ARLDatamineTT, UIParent) for i=1,GetMerchantNumItems(),1 do - local name, _, _, _, numAvailable = GetMerchantItemInfo(index) + local name, _, _, _, numAvailable = GetMerchantItemInfo(i) local link = GetMerchantItemLink(i) -- Will have to do tooltip scanning here. -- Skill level, profession, limited supply -- 1.7.9.5