Skip to content

Commit

Permalink
Fix Osmose port matching (Justus Noll bug)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Dempsey committed Nov 30, 2023
1 parent 7d5d4ed commit b3cf2b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/em_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ bool matchInOut(const std::string& input, const std::string& output)
{
if (0 == input.compare(output)) return true;
#if defined ARCH_WIN
if (is_osmose(input)) {
if (is_osmose(input) && is_osmose(output)) {
return (0 == input.compare(0,7, "MIDIIN2", 0,7))
&& (0 == output.compare(0,8, "MIDIOUT2", 0,8));
}
Expand Down

0 comments on commit b3cf2b5

Please sign in to comment.