From 68261d3069838047560ba1832de84c4fe09e7214 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Fri, 17 Oct 2008 08:06:18 +0000 Subject: [PATCH] * Removed wrath compatability checks --- WowLua.lua | 4 ---- WowLua.xml | 6 +----- 2 files changed, 1 insertion(+), 9 deletions(-) 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 @@ 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()) -- 1.7.9.5