Quantcast

* Corrected whitespace because I'm an idiot.

tardmrr [04-14-07 - 03:35]
* Corrected whitespace because I'm an idiot.
* Removed a couple of unneeded commented lines.
Filename
TomTom.lua
diff --git a/TomTom.lua b/TomTom.lua
index 59248dc..0e27ff2 100755
--- a/TomTom.lua
+++ b/TomTom.lua
@@ -153,10 +153,9 @@ end

 local function MinimapIcon_OnEnter(self)
 	local tooltip = TomTom.tooltip
-	--tooltip:SetParent(UIParent)
 	tooltip:SetScale(UIParent:GetEffectiveScale())
-    tooltip:SetOwner(self, "ANCHOR_CURSOR")
-    tooltip_icon = self
+	tooltip:SetOwner(self, "ANCHOR_CURSOR")
+	tooltip_icon = self
 	if self.label then
 		tooltip:SetText("TomTom: " .. self.label .. "\n")
 	else
@@ -355,9 +354,8 @@ end

 local function WorldMapIcon_OnEnter(self)
 	local tooltip = TomTom.tooltip
-    --tooltip:SetParent(self)
-    tooltip:SetScale(UIParent:GetEffectiveScale())
-    tooltip:SetOwner(self, "ANCHOR_CURSOR")
+	tooltip:SetScale(UIParent:GetEffectiveScale())
+	tooltip:SetOwner(self, "ANCHOR_CURSOR")
 	tooltip_icon = self
 	if self.label then
 		tooltip:SetText("TomTom: " .. self.label .. "\n")