zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 2693ced4c41f838a4285a0e17928d0a7d5bb2705
parent b8fcf7994cfbb36419d4d66d0ba2e1ca0185e040
Author: Ricard Wanderlof <polluxsynth@butoba.net>
Date:   Mon,  4 Apr 2022 21:26:52 +0200

Add likely missing else

Add missing else. This avoids messages to be forwarded being sent
to remote as well.

Diffstat:
Msrc/Misc/MiddleWare.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Misc/MiddleWare.cpp b/src/Misc/MiddleWare.cpp @@ -2280,7 +2280,7 @@ void MiddleWareImpl::bToUhandle(const char *rtmsg) if(forward) { forward = false; handleMsg(rtmsg, true); - } if(broadcast) + } else if(broadcast) broadcastToRemote(rtmsg); else sendToCurrentRemote(rtmsg);