Module: wine Branch: master Commit: c7ca1643f752f2f5f85b52ede9c4cda8e959b564 URL: https://gitlab.winehq.org/wine/wine/-/commit/c7ca1643f752f2f5f85b52ede9c4cda...
Author: Rémi Bernon rbernon@codeweavers.com Date: Wed Oct 18 11:54:39 2023 +0200
dmsynth: Fix FluidSynth generators for direct connections.
---
dlls/dmsynth/synth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dmsynth/synth.c b/dlls/dmsynth/synth.c index 47c570d18af..45940e25b59 100644 --- a/dlls/dmsynth/synth.c +++ b/dlls/dmsynth/synth.c @@ -1345,7 +1345,7 @@ static BOOL set_gen_from_connection(fluid_voice_t *fluid_voice, const CONNECTION { if (!gen_from_connection(conn, &gen)) return FALSE; } - if (conn->usSource == CONN_SRC_KEYNUMBER) + else if (conn->usSource == CONN_SRC_KEYNUMBER) { switch (conn->usDestination) {