Skip to content

Commit

Permalink
Fixed possible taint source
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Apr 15, 2023
1 parent 969c64c commit bd9defe
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
16 changes: 8 additions & 8 deletions Bindings.xml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
<Bindings>
<Binding category="BINDING_HEADER_REPORTERB" name="REPORTERINC1">
<Binding category="|cFF74D06CRE|rPorter" name="REPORTERINC1">
REPorter:SmallButton(1);
</Binding>
<Binding category="BINDING_HEADER_REPORTERB" name="REPORTERINC2">
<Binding category="|cFF74D06CRE|rPorter" name="REPORTERINC2">
REPorter:SmallButton(2);
</Binding>
<Binding category="BINDING_HEADER_REPORTERB" name="REPORTERINC3">
<Binding category="|cFF74D06CRE|rPorter" name="REPORTERINC3">
REPorter:SmallButton(3);
</Binding>
<Binding category="BINDING_HEADER_REPORTERB" name="REPORTERINC4">
<Binding category="|cFF74D06CRE|rPorter" name="REPORTERINC4">
REPorter:SmallButton(4);
</Binding>
<Binding category="BINDING_HEADER_REPORTERB" name="REPORTERINC5">
<Binding category="|cFF74D06CRE|rPorter" name="REPORTERINC5">
REPorter:SmallButton(5);
</Binding>
<Binding category="BINDING_HEADER_REPORTERB" name="REPORTERINC6">
<Binding category="|cFF74D06CRE|rPorter" name="REPORTERINC6">
REPorter:SmallButton(6);
</Binding>
<Binding category="BINDING_HEADER_REPORTERB" name="REPORTERHELP">
<Binding category="|cFF74D06CRE|rPorter" name="REPORTERHELP">
REPorter:BigButton(true);
</Binding>
<Binding category="BINDING_HEADER_REPORTERB" name="REPORTERCLEAR">
<Binding category="|cFF74D06CRE|rPorter" name="REPORTERCLEAR">
REPorter:BigButton(false);
</Binding>
</Bindings>
5 changes: 2 additions & 3 deletions REPorter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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

Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion REPorter.toc
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit bd9defe

Please sign in to comment.