From bbc3a3dae5ee6981974c5675c2fe6b9fa1ff8f80 Mon Sep 17 00:00:00 2001 From: "Erik L. Vonderscheer" Date: Sun, 16 Aug 2009 07:26:38 +0000 Subject: [PATCH] Fix typo --- TradeFilter3.lua | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/TradeFilter3.lua b/TradeFilter3.lua index b62b83a..35b5dda 100644 --- a/TradeFilter3.lua +++ b/TradeFilter3.lua @@ -38,16 +38,12 @@ local friends = LibStub("LibFriends-1.0") local LDB = LibStub("LibDataBroker-1.1", true) local TF3 = TradeFilter3 -local PROJECT.VERSION = @project-version@ -local PROJECT.REVISION = 000 + tonumber(("$Revision: @project-revision@ $"):match("%d+")) -TF3.date = string.sub("$Date: @file-date-iso@ $", 8, 17) -TF3.version = string.sub(PROJECT_VERSION, "-release", "") - --[[ Locals ]]-- local ipairs = ipairs local pairs = pairs local find = string.find -local sub = string.gsub +local sub = string.sub +local gsub = string.gsub local lower = string.lower local formatIt = string.format local insert = table.insert @@ -62,6 +58,11 @@ local lastmsgID local lastmsg local lastuserID +local PROJECT.VERSION = "@project-version@" +local PROJECT.REVISION = 000 + tonumber(("$Revision: @project-revision@ $"):match("%d+")) +TF3.date = sub("$Date: @file-date-iso@ $", 8, 17) +TF3.version = gsub(PROJECT_VERSION, "-release", "") + --[[ Database Defaults ]]-- defaults = { profile = { -- 1.7.9.5