Fix tooltip format
Adrian L Lange [08-06-09 - 14:50]
diff --git a/oUF_Experience.lua b/oUF_Experience.lua
index 1e8a672..65ebd4b 100644
--- a/oUF_Experience.lua
+++ b/oUF_Experience.lua
@@ -28,7 +28,7 @@ local function tooltip(self)
local bars = unit == 'pet' and 6 or 20
GameTooltip:SetOwner(self, 'ANCHOR_BOTTOMRIGHT', 5, -5)
- GameTooltip:AddLine(format('XP: %d / %d (%d%% - %d bars)', min, max, min / max * 100), bars)
+ GameTooltip:AddLine(format('XP: %d / %d (%d%% - %d bars)', min, max, min / max * 100, bars))
GameTooltip:AddLine(format('Left: %d (%d%% - %d bars)', max - min, (max - min) / max * 100, bars * (max - min) / max))
if(self.exhaustion) then