diff --git a/config/rsgain.manifest.in b/config/rsgain.manifest.in index 3b0909e..8669055 100755 --- a/config/rsgain.manifest.in +++ b/config/rsgain.manifest.in @@ -4,6 +4,7 @@ UTF-8 + true diff --git a/src/easymode.cpp b/src/easymode.cpp index 179bd7c..6567616 100755 --- a/src/easymode.cpp +++ b/src/easymode.cpp @@ -586,7 +586,7 @@ static void load_preset(const std::filesystem::path &preset) // Check user directory #ifdef _WIN32 - char buffer[MAX_PATH]; + char buffer[1024]; if (GetEnvironmentVariableA("USERPROFILE", buffer, sizeof(buffer))) path = join_paths(buffer, "." EXECUTABLE_TITLE, "presets", preset_basename); #else