WoWInterface SVN BuyEmAll

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 7 to Rev 6
    Reverse comparison

Rev 7 → Rev 6

BuyEmAll/BuyEmAll.lua
1,13 → 1,14
-- BuyEmAll - By Cogwheel.
 
BuyEmAll = {}
 
local L = BUYEMALL_LOCALS
local IS_WRATH = tonumber(select(4, GetBuildInfo())) >= 30000
 
-- These are used for the text on the Max and Stack buttons. See BuyEmAll.xml.
BUYEMALL_MAX = L.MAX
BUYEMALL_STACK = L.STACK
 
 
--[[
It's ALIVE!!! Muahahahahhahahaa!!!!!!
]]
23,12 → 24,8
}
 
self.OrigMerchantItemButton_OnModifiedClick = MerchantItemButton_OnModifiedClick
MerchantItemButton_OnModifiedClick = function(...)
if IS_WRATH then
return self:MerchantItemButton_OnModifiedClick(...)
else
self:MerchantItemButton_OnModifiedClick(this, ...)
end
MerchantItemButton_OnModifiedClick = function(button, ...)
return self:MerchantItemButton_OnModifiedClick(button, ...)
end
 
self.OrigMerchantFrame_OnHide = MerchantFrame:GetScript("OnHide")
49,11 → 46,7
collapse = 1,
}
BuyEmAllMoneyFrame.small = 1
if IS_WRATH then
MoneyFrame_SetType(frame, "BUYEMALL")
else
MoneyFrame_SetType("BUYEMALL")
end
MoneyFrame_SetType(frame, "BUYEMALL")
end