* Fixed a mis-spelling in the .toc file that lead to AddonLoader support not working
James Whitehead II [11-11-08 - 16:46]
* Fixed a mis-spelling in the .toc file that lead to AddonLoader support not working
* Fixed an issue where loading the addon via AddOnLoader would cause the main edit box to be too small
diff --git a/WowLua.lua b/WowLua.lua
index 6d329b2..4723450 100644
--- a/WowLua.lua
+++ b/WowLua.lua
@@ -586,6 +586,7 @@ SlashCmdList["WOWLUA"] = function(txt)
local page, entry = WowLua:GetCurrentPage()
if first then
WowLuaFrameEditBox:SetText(entry.content)
+ WowLuaFrameEditBox:SetWidth(WowLuaFrameEditScrollFrame:GetWidth())
WowLua:SetTitle(false)
first = false
end
diff --git a/WowLua.toc b/WowLua.toc
index 5283999..cae5773 100644
--- a/WowLua.toc
+++ b/WowLua.toc
@@ -4,7 +4,7 @@
## Author: Cladhaire
## Notes: Interactive Lua interpreter and scratchpad
## LoadManagers: AddonLoader
-## X-LoadOn-Shash: /wowlua, /lua
+## X-LoadOn-Slash: /wowlua, /lua
## SavedVariables: WowLua_DB
Localization.enUS.lua