Commit efe0a09f authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

midimap: Check each Midi Output for a Midi Through synthesizer.

parent d2552c06
......@@ -574,7 +574,7 @@ static LRESULT MIDIMAP_drvOpen(void)
midiOutPorts[dev].lpbPatch = NULL;
for (i = 0; i < 16; i++)
midiOutPorts[dev].aChn[i] = i;
if (strncmpW(midiOutPorts[0].name, throughportW, strlenW(throughportW)) != 0)
if (strncmpW(midiOutPorts[dev].name, throughportW, strlenW(throughportW)) != 0)
found_valid_port = TRUE;
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment