From 2e6470166674008713c50e33af9a95542705ccbb Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Fri, 15 Feb 2008 14:14:23 +0000 Subject: [PATCH] Fixing drycode errors --- Config.lua | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Config.lua b/Config.lua index 3dbd690..68d922b 100644 --- a/Config.lua +++ b/Config.lua @@ -6,7 +6,7 @@ local L = PerfectRaidLocals options.type = "group" options.name = "PerfectRaid" options.get = function(k) return db[k.arg] end -options.set = function(k,v) db[k.arg = v end +options.set = function(k,v) db[k.arg] = v end options.args = {} options.args.general = { @@ -111,7 +111,7 @@ options.args.highlight = { }, }, }, -}, -- end highlight +} -- end highlight options.args.range = { type = "group", @@ -134,7 +134,7 @@ options.args.range = { min = 0, max = 1.0, step = 0.05, }, }, -}, -- end range +} -- end range local function getFrameArgs() @@ -164,7 +164,6 @@ local function getFrameArgs() WARLOCK = {type = "toggle", name = L["Warlock"],}, HUNTER = {type = "toggle", name = L["HUNTER"],}, } - }, groups = { type = "group", @@ -193,10 +192,10 @@ local function getFrameArgs() width = "full", name = L["Name list"], desc = L["A list of players name to be shown. This option will not be used if any of the group or class filters are set"], - } + }, strict = { type = "toggle", - name = L["Strict filtering"] + name = L["Strict filtering"], desc = L["When strict filtering is enabled, a unit must match all given filters in order to be shown."], }, }, @@ -312,7 +311,7 @@ local function getFrameArgs() validate = function(info, value) local num = tonumber(value) if not num then - return L["Max column must be a number"], + return L["Max column must be a number"] end return true end, @@ -322,7 +321,7 @@ local function getFrameArgs() name = L["Number of units per column"], validate = function(info, value) if value and not tonumber(value) then - return L["Number of units per column must be a number, or nil"], + return L["Number of units per column must be a number, or nil"] end return true end @@ -332,7 +331,7 @@ local function getFrameArgs() name = L["Column spacing"], validate = function(info, value) if value and not tonumber(value) then - return L["Column spacing must be a number, or nil"], + return L["Column spacing must be a number, or nil"] end return true end, -- 1.7.9.5