From cb25591c2f9194ecdf5426d68837ed72220e205b Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Tue, 5 Dec 2006 23:32:01 +0000 Subject: [PATCH] * Fixed an issue where the based actions would not display properly, and would error in the UI --- CliqueOptions.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CliqueOptions.lua b/CliqueOptions.lua index e1e5aaa..5699b03 100644 --- a/CliqueOptions.lua +++ b/CliqueOptions.lua @@ -1034,11 +1034,11 @@ function Clique:FillListEntry(frame, idx) elseif entry.type == "stop" then frame.name:SetText("Stop Casting") elseif entry.type == "target" then - frame.name:SetText("Target Unit: %s" .. entry.arg2 and entry.arg2 or "") + frame.name:SetText(string.format("Target Unit: %s", entry.arg1 and entry.arg1 or "")) elseif entry.type == "focus" then - frame.name:SetText("Set Focus Unit: %s" .. entry.arg2 and entry.arg2 or "") + frame.name:SetText(string.format("Set Focus Unit: %s", entry.arg1 and entry.arg1 or "")) elseif entry.type == "assist" then - frame.name:SetText("Assist Unit: %s" .. entry.arg2 and entry.arg2 or "") + frame.name:SetText(string.format("Assist Unit: %s", entry.arg1 and entry.arg1 or "")) elseif entry.type == "item" then if entry.arg1 then frame.name:SetText(string.format("Item: %d,%d", entry.arg1, entry.arg2)) -- 1.7.9.5