Fix dry-code mistake in ScanVendor function.
ackis [04-21-09 - 17:07]
Fix dry-code mistake in ScanVendor function.
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