From bd9defe803d2faea1486b6f5c0eee3f431161318 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Sat, 15 Apr 2023 22:00:42 +0200 Subject: [PATCH] Fixed possible taint source --- Bindings.xml | 16 ++++++++-------- REPorter.lua | 5 ++--- REPorter.toc | 2 +- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/Bindings.xml b/Bindings.xml index 7d0210d..54279df 100644 --- a/Bindings.xml +++ b/Bindings.xml @@ -1,26 +1,26 @@ - + REPorter:SmallButton(1); - + REPorter:SmallButton(2); - + REPorter:SmallButton(3); - + REPorter:SmallButton(4); - + REPorter:SmallButton(5); - + REPorter:SmallButton(6); - + REPorter:BigButton(true); - + REPorter:BigButton(false); diff --git a/REPorter.lua b/REPorter.lua index b7018db..294fae7 100644 --- a/REPorter.lua +++ b/REPorter.lua @@ -114,7 +114,7 @@ RE.BlinkPOIValue = 0.3 RE.BlinkPOIUp = true RE.FoundNewVersion = false -RE.AddonVersionCheck = 296 +RE.AddonVersionCheck = 297 RE.ScreenHeight, RE.ScreenWidth = _G.UIParent:GetCenter() RE.MapSettings = { @@ -607,7 +607,7 @@ function RE:OnMouseWheel(delta) newscale = RE:Round(newscale, 2) _G.REPorterFrameCore:SetScale(newscale) if _G.SettingsPanel:IsShown() then - RE.ConfigFrame.obj.children[1].children[1].children[8]:SetValue(newscale) + RE.ConfigFrame.obj.children[1].children[1].children[9]:SetValue(newscale) end end @@ -626,7 +626,6 @@ function RE:OnEvent(self, event, ...) RE:UpdateConfig() RegisterAddonMessagePrefix("REPorter") - _G.BINDING_HEADER_REPORTERB = "|cFF74D06CRE|rPorter" _G.BINDING_NAME_REPORTERINC1 = L["Incoming"].." 1" _G.BINDING_NAME_REPORTERINC2 = L["Incoming"].." 2" _G.BINDING_NAME_REPORTERINC3 = L["Incoming"].." 3" diff --git a/REPorter.toc b/REPorter.toc index ee98178..0733f9d 100644 --- a/REPorter.toc +++ b/REPorter.toc @@ -1,7 +1,7 @@ ## Interface: 100007 ## Title: |cFF74D06CRE|rPorter ## Notes: Provide battleground map. -## Version: 2.9.6 +## Version: 2.9.7 ## Author: AcidWeb ## SavedVariables: REPorterSettings ## X-WoWI-ID: 21089