From 1e901b8222ccca6994c4c34d4bcca80f926511ad Mon Sep 17 00:00:00 2001 From: Ludovicus Date: Wed, 22 May 2024 08:17:17 -0400 Subject: [PATCH] Small errors. --- WoWPro/WoWPro.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WoWPro/WoWPro.lua b/WoWPro/WoWPro.lua index 59ce9c4d2..b8bf05fde 100755 --- a/WoWPro/WoWPro.lua +++ b/WoWPro/WoWPro.lua @@ -941,7 +941,7 @@ end function WoWPro.ShowGuideMenu() WoWPro.BuildGuideInMenuList() local menuFrame = _G.CreateFrame("Frame", "WoWPro_Guides", _G.UIParent, "UIDropDownMenuTemplate") - menuFrame:SetPoint("Center", _G.UIParent, "Center") + menuFrame:SetPoint("CENTER", _G.UIParent, "CENTER") _G.EasyMenu(WoWPro.GuideMenuList, menuFrame, menuFrame, 0 , 0, "MENU") end @@ -1115,7 +1115,7 @@ function WoWPro:GuideClassSpecific(guide,class) return -- Allow developers to check everything, if they want end if engClass ~= class then - WoWPro:UnRegisterGuide(guide,"Guide %s is class specific and you don't match", guide.GID) + WoWPro:UnRegisterGuide(guide,("Guide %s is class specific and you don't match"):format(guide.GID)) end end