diff --git a/plugins/carla/common.c b/plugins/carla/common.c index 36470deb5a71de..3db43d691252e1 100644 --- a/plugins/carla/common.c +++ b/plugins/carla/common.c @@ -40,7 +40,7 @@ const char *get_carla_bin_path(void) memcpy(mpath, utilspath, utilslen); memcpy(mpath + utilslen, CARLA_OS_SEP_STR "carla-discovery-native", 24); #ifdef _WIN32 - memcpy(mpath + utilslen + 24, ".exe", 5); + memcpy(mpath + utilslen + 23, ".exe", 5); #endif if (os_file_exists(mpath)) {