gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 556a2c586505adf36666d5598581130174ff7124
parent 5f5c9be71c155bdc1245765bc1059001989127fc
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Sat,  7 Aug 2021 20:10:34 +0200

fix broken path search function

Diffstat:
Msource/synthLib/os.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/synthLib/os.cpp b/source/synthLib/os.cpp @@ -68,7 +68,7 @@ namespace synthLib auto fixPath = [&](std::string key) { - const auto end = path.find_last_of(key); + const auto end = path.rfind(key); if (end != std::string::npos) path = path.substr(0, end);