1
0
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:
Rubidium
2023-05-25 18:23:26 +02:00
committed by rubidium42
parent 0e56a73fb8
commit 87ccff16b5
3 changed files with 17 additions and 22 deletions

View File

@@ -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;
}