From 16bb65f442bdf9380a3558e55e42b24b8cd77e84 Mon Sep 17 00:00:00 2001 From: Ackis Date: Tue, 25 Nov 2008 21:24:46 +0000 Subject: [PATCH] AND ~= OR --- ARLFrame.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ARLFrame.lua b/ARLFrame.lua index 7590979..ed289ce 100644 --- a/ARLFrame.lua +++ b/ARLFrame.lua @@ -2400,7 +2400,7 @@ function addon.RecipeItem_OnClick(button) addon:Print(button) -- Don't do anything if they've clicked on an empty button - if (clickedIndex ~= nil) or (clickedIndex ~= 0) then + if (clickedIndex ~= nil) and (clickedIndex ~= 0) then local isRecipe = DisplayStrings[clickedIndex].IsRecipe local isExpanded = DisplayStrings[clickedIndex].IsExpanded -- 1.7.9.5