Fix windows build

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-05-25 14:35:43 +01:00
parent 20e6f30bcc
commit 9c9276ac68
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0

View file

@ -119,7 +119,7 @@ static const char* getPathForJSFX()
#if defined(CARLA_OS_MAC)
path = homeDir() + "/Library/Application Support/REAPER/Effects";
#elif defined(CARLA_OS_WIN)
path = getSpecialPath() + "\\REAPER\\Effects"
path = getSpecialPath(kSpecialPathAppData) + "\\REAPER\\Effects"
#else
if (const char* const configHome = std::getenv("XDG_CONFIG_HOME"))
path = configHome;