mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
Fix Android
This commit is contained in:
@@ -769,7 +769,7 @@ static std::string ResolveFilenameForCapture(const fs::path& filename)
|
||||
return *path;
|
||||
}
|
||||
|
||||
auto screenshotDirectory = fs::u8path(screenshot_get_directory());
|
||||
auto screenshotDirectory = u8path(screenshot_get_directory());
|
||||
auto screenshotPath = fs::absolute(screenshotDirectory / filename);
|
||||
|
||||
// Check the filename isn't attempting to leave the screenshot directory for security
|
||||
|
||||
Reference in New Issue
Block a user