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 9e41c4f2932e04c9d0258fb7248bb8e5b1890a2e
parent 587c0d320c64ff379b8e444ab993d06d7b037bad
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Sun, 27 Oct 2024 01:40:59 +0200

fix double // in paths

Diffstat:
Msource/synthLib/os.cpp | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/source/synthLib/os.cpp b/source/synthLib/os.cpp @@ -498,9 +498,9 @@ namespace synthLib switch (_type) { case SpecialFolderType::UserDocuments: - return home + "/Documents/"; + return home + "Documents/"; case SpecialFolderType::PrivateAppData: - return home + "/Library/Application Support/"; + return home + "Library/Application Support/"; default: return {}; } @@ -513,14 +513,14 @@ namespace synthLib const auto* docDir = std::getenv("XDG_DATA_HOME"); if(docDir && strlen(docDir) > 0) return validatePath(docDir); - return home + "/.local/share/"; + return home + ".local/share/"; } case SpecialFolderType::PrivateAppData: { const auto* confDir = std::getenv("XDG_CONFIG_HOME"); if(confDir && strlen(confDir) > 0) return validatePath(confDir); - return home + "/.config/"; + return home + ".config/"; } default: return {};