* Removed wrath compatability checks
James Whitehead II [10-17-08 - 08:06]
* Removed wrath compatability checks
diff --git a/WowLua.lua b/WowLua.lua
index a6e4698..6d329b2 100644
--- a/WowLua.lua
+++ b/WowLua.lua
@@ -5,10 +5,6 @@
WowLua is an interactive interpreter for World of Warcraft
--------------------------------------------------------------------------]]--
-function IsWrathBuild()
- return(tonumber(select(4, GetBuildInfo())) >= 30000)
-end
-
WowLua = {
VERSION = "WowLua 1.0 Interactive Interpreter",
}
diff --git a/WowLua.xml b/WowLua.xml
index 30e73c1..9317ad2 100644
--- a/WowLua.xml
+++ b/WowLua.xml
@@ -506,11 +506,7 @@
<OnCursorChanged>
WowLua.lastCursorPos = WowLua.cursorPos
WowLua.cursorPos = self:GetCursorPosition()
- if IsWrathBuild() then
- ScrollingEdit_OnCursorChanged(self,x,y,w,h)
- else
- ScrollingEdit_OnCursorChanged(x,y,w,h)
- end
+ ScrollingEdit_OnCursorChanged(self,x,y,w,h)
WowLua:UpdateLineNums()
WowLuaFrameEditScrollFrameScrollBar:SetValue(WowLuaFrameEditScrollFrame:GetVerticalScroll())
</OnCursorChanged>