Skip to content

Commit ab2691a

Browse files
committed
fixed a bug in outlet index validation (from a botched refactoring)
1 parent 10550d3 commit ab2691a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jruby_for_max/lib/jruby_initialize.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def inlet(inlet_index, *params)
3131
# Sends output to an outlet
3232
def outlet(outlet_index, *params)
3333
if (outlet_index >= $max_object.numOutlets)
34-
error("Invalid outlet index #{outletIdx}")
34+
error("Invalid outlet index #{outlet_index}")
3535
else
3636
begin
3737
if params.length == 1

0 commit comments

Comments
 (0)