diff --git a/ElvUI/Libraries/LibBase64-1.0/LibBase64-1.0.lua b/ElvUI/Libraries/LibBase64-1.0/LibBase64-1.0.lua index 4af8a4c..a66d7a0 100644 --- a/ElvUI/Libraries/LibBase64-1.0/LibBase64-1.0.lua +++ b/ElvUI/Libraries/LibBase64-1.0/LibBase64-1.0.lua @@ -75,7 +75,9 @@ function LibBase64:Encode(text, maxLineLength, lineEnding) local currentLength = 0 for i = 1, len(text), 3 do - local a, b, c = byte(text, i, i+2) + local a = byte(text, i) + local b = byte(text, i + 1) + local c = byte(text, i + 2) local nilNum = 0 if not b then nilNum = 2 diff --git a/ElvUI_Config/Core.lua b/ElvUI_Config/Core.lua index 539db28..9b3c847 100644 --- a/ElvUI_Config/Core.lua +++ b/ElvUI_Config/Core.lua @@ -259,7 +259,7 @@ local function ExportImport_Open(mode) local exportButton = AceGUI:Create("Button") exportButton:SetText(L["Export Now"]) exportButton:SetAutoWidth(true) - local function OnClick(self) + local function OnClick() label1:SetText(" ") label2:SetText(" ")