Fix an issue where backslash could not be bound
James Whitehead II [10-15-10 - 20:27]
Fix an issue where backslash could not be bound
diff --git a/Clique.lua b/Clique.lua
index f50bfe1..cb2a9ba 100755
--- a/Clique.lua
+++ b/Clique.lua
@@ -315,8 +315,8 @@ function addon:GetClickAttributes(global)
return table.concat(bits, "\n"), table.concat(rembits, "\n")
end
-local B_SET = [[self:SetBindingClick(true, "%s", self, "%s");]]
-local B_CLR = [[self:ClearBinding("%s");]]
+local B_SET = [[self:SetBindingClick(true, %q, self, %q);]]
+local B_CLR = [[self:ClearBinding(%q);]]
-- This function will create two attributes, the first being a "setup keybindings"
-- script and the second being a "clear keybindings" script.