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:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user