Quantcast

Fix locale collision

Adrian L Lange [08-13-09 - 16:49]
Fix locale collision
Filename
oUF_P3lim.lua
diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua
index ba2d952..fc10206 100644
--- a/oUF_P3lim.lua
+++ b/oUF_P3lim.lua
@@ -281,10 +281,10 @@ local function styleFunction(self, unit)

 		self.BarFade = true
 	else
-		local info = self.Health:CreateFontString(nil, 'OVERLAY', 'GameFontHighlightSmallLeft')
-		info:SetPoint('LEFT', self.Health, 2, -1)
-		info:SetPoint('RIGHT', hpvalue, 'LEFT')
-		self:Tag(info, unit == 'target' and '[pname]|cff0090ff[( )rare]|r' or '[pname]')
+		local name = self.Health:CreateFontString(nil, 'OVERLAY', 'GameFontHighlightSmallLeft')
+		name:SetPoint('LEFT', self.Health, 2, -1)
+		name:SetPoint('RIGHT', hpvalue, 'LEFT')
+		self:Tag(name, unit == 'target' and '[pname]|cff0090ff[( )rare]|r' or '[pname]')
 	end

 	if(unit == 'pet') then