mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-17 09:22:42 +01:00
Codechange: use std::string for the screenshot name/path
This commit is contained in:
@@ -417,7 +417,7 @@ bool CrashLog::WriteScreenshot()
|
||||
|
||||
std::string filename = this->CreateFileName("", false);
|
||||
bool res = MakeScreenshot(SC_CRASHLOG, filename);
|
||||
if (res) this->screenshot_filename = _full_screenshot_name;
|
||||
if (res) this->screenshot_filename = _full_screenshot_path;
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user