From a1e62fa665b3f070f80a7d3325421aeeab6d1071 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Sat, 14 Apr 2007 15:32:35 +0000 Subject: [PATCH] * Fixed an issue where macros would fail if they had no text, and no index. --- Clique.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Clique.lua b/Clique.lua index 8b5e154..f36fff0 100644 --- a/Clique.lua +++ b/Clique.lua @@ -66,7 +66,7 @@ function Clique:Enable() }, blacklist = { }, - tooltips = true, + tooltips = false, } } @@ -448,7 +448,7 @@ function Clique:SetAttribute(entry, frame) else local unit = SecureButton_GetModifiedUnit(frame, entry.modifier.."unit"..button) local macro = entry.arg2 - if unit then + if unit and macro then macro = macro:gsub("target%s*=%s*clique", "target="..unit) end -- 1.7.9.5