WoWInterface SVN zzcommon

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 111 to Rev 112
    Reverse comparison

Rev 111 → Rev 112

trunk/LibCommon/common.lua
1,6 → 1,6
local name, addon = ...
 
local embed = addon:LibInit("zzCommon-Base", 30, {'RegisterFunc','HandleFunclist','round','split','classcolor','colorize','Print','buildMoneyString','RegisterEventThrottle','RGB2Hex','Hex2RGB','sortArray','IsTwink','getItemId','itemInfo','startup'})
local embed = addon:LibInit("zzCommon-Base", 31, {'RegisterFunc','HandleFunclist','round','split','classcolor','colorize','Print','buildMoneyString','RegisterEventThrottle','RGB2Hex','Hex2RGB','sortArray','IsTwink','getItemId','itemInfo','startup'})
if(type(embed) ~= 'function') then return end
 
local table = table
179,10 → 179,10
local abrev = ""
if(abrevM and money >= 10000000000) then
abrev = abrevM
money = addon['round'](money / 10000000000,1) * 10000
money = lib:round(money / 10000000000,1) * 10000
elseif(abrevK and money >= 10000000) then
abrev = abrevK
money = addon['round'](money / 10000000,1) * 10000
money = lib:round(money / 10000000,1) * 10000
end
if(money <0) then
neg = true