Skip to content

Commit

Permalink
Fix design tool export bug (thanks neurofun)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulStoffregen committed Dec 10, 2017
1 parent 88535e1 commit c26e766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/red/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ var RED = (function() {
var src_name = make_name(src);
var dst_name = make_name(dst);
if (j == 0 && parts[1] == 0 && src && src.outputs == 1 && dst && dst._def.inputs == 1) {
cpp += src_name + ", " + parts[0];
cpp += src_name + ", " + dst_name;
} else {
cpp += src_name + ", " + j + ", " + dst_name + ", " + parts[1];
}
Expand Down

0 comments on commit c26e766

Please sign in to comment.