1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 08:12:53 +01:00

Fix writing of string values to console

This commit is contained in:
Ted John
2016-12-13 23:33:16 +00:00
parent 62c088862b
commit 56b17310ee

View File

@@ -470,7 +470,7 @@ private:
}
catch (Exception ex)
{
Console::Error::WriteLine("Error reading legacy scenario scores file: '%s'", path);
Console::Error::WriteLine("Error reading legacy scenario scores file: '%s'", path.c_str());
}
if (highscoresDirty)
@@ -528,7 +528,7 @@ private:
}
catch (Exception ex)
{
Console::Error::WriteLine("Unable to save highscores to '%s'", path);
Console::Error::WriteLine("Unable to save highscores to '%s'", path.c_str());
}
}