Quantcast

Bug fix.

Scott Sibley [06-29-11 - 06:41]
Bug fix.
Add WipeInspect to WipeData gesture.
Bump toc for 4.2.
Filename
Modules/Gestures/Gestures.lua
Modules/UnitTooltip/UnitTooltip.lua
StarTip.toc
diff --git a/Modules/Gestures/Gestures.lua b/Modules/Gestures/Gestures.lua
index b420b5b..b66eb8d 100644
--- a/Modules/Gestures/Gestures.lua
+++ b/Modules/Gestures/Gestures.lua
@@ -28,6 +28,7 @@ local defaults = {
 				expression = [[
 WipeDPS()
 WipeNoise()
+WipeInspect()
 ]]
 			},
 			[2] = {
diff --git a/Modules/UnitTooltip/UnitTooltip.lua b/Modules/UnitTooltip/UnitTooltip.lua
index 12cd23c..1207ca2 100644
--- a/Modules/UnitTooltip/UnitTooltip.lua
+++ b/Modules/UnitTooltip/UnitTooltip.lua
@@ -998,11 +998,11 @@ function mod.OnHide()
 end

 local function escape(text)
-    return text:replace("|","||")
+    return string.gsub(text, "|","||")
 end

 local function unescape(text)
-    return text:replace("||", "|")
+    return string.gsub(text, "||", "|")
 end

 function mod:GetNames()
diff --git a/StarTip.toc b/StarTip.toc
index d695056..fa172a6 100644
--- a/StarTip.toc
+++ b/StarTip.toc
@@ -1,4 +1,4 @@
-## Interface: 40100
+## Interface: 40200
 ## Title: StarTip
 ## Notes: Tooltips from outerspace
 ## Author: Starlon