mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 23:04:36 +01:00
Add missing argument to format (#8082)
This commit is contained in:
committed by
GitHub
parent
960751addb
commit
d5be45e27a
@@ -63,7 +63,8 @@ namespace File
|
||||
auto fsize = (size_t)fs.tellg();
|
||||
if (fsize > SIZE_MAX)
|
||||
{
|
||||
std::string message = String::StdFormat("'%s' exceeds maximum length of %lld bytes.", SIZE_MAX);
|
||||
std::string message = String::StdFormat(
|
||||
"'%s' exceeds maximum length of %lld bytes.", std::string(path).c_str(), SIZE_MAX);
|
||||
throw IOException(message);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user