[PATCH] midimap: Check each Midi Output for a Midi Through synthesizer
Alistair Leslie-Hughes <[email protected]>
| Newsgroups | gmane.comp.emulators.wine.patches |
|---|---|
| Message-ID | <SL2P216MB0746D5C73E83CC3CF26F943593450@SL2P216MB0746.KORP216.PROD.OUTLOOK.COM> |
Signed-off-by: Alistair Leslie-Hughes <[email protected]> --- dlls/midimap/midimap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/midimap/midimap.c b/dlls/midimap/midimap.c index f36b252..16707bb 100644 --- a/dlls/midimap/midimap.c +++ b/dlls/midimap/midimap.c @@ -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 -- 1.9.1