diff options
Diffstat (limited to 'BinaryDisplay.cpp')
-rw-r--r-- | BinaryDisplay.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BinaryDisplay.cpp b/BinaryDisplay.cpp index 8526511..f58491c 100644 --- a/BinaryDisplay.cpp +++ b/BinaryDisplay.cpp @@ -43,8 +43,8 @@ BinaryDisplay::remove_input(int id) input2 = nullptr; if (input3 && input3->get_id() == id) input3 = nullptr; - if (input4 && input5->get_id() == id) - input5 = nullptr; + if (input4 && input4->get_id() == id) + input4 = nullptr; if (input5 && input5->get_id() == id) input5 = nullptr; if (input6 && input6->get_id() == id) |