From 41ed35236818d3f08b468e30add7ccfd05cde2c5 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sat, 19 Dec 2009 20:47:31 -0800 Subject: Avoiding using twice the same input... --- dalos-binaryops.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dalos-binaryops.lua') diff --git a/dalos-binaryops.lua b/dalos-binaryops.lua index 886f153..6949524 100644 --- a/dalos-binaryops.lua +++ b/dalos-binaryops.lua @@ -31,7 +31,7 @@ Maximize: %b[No,Yes]{Check if you want to maximize the output} input_change = function (self, ind) local h1 = self:get_linked_input(1) - local h2 = self:get_linked_input(1) + local h2 = self:get_linked_input(2) local op = self.extra.op or dalosp.binaryops.operations.XOR if h1 and h2 then self.color = cd.GREEN -- cgit v1.2.3