mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 20:43:04 +01:00
Adjust Formatter function names according to coding style (#11378)
This commit is contained in:
committed by
GitHub
parent
e1e58423fc
commit
2479256bc1
@@ -115,17 +115,17 @@ private:
|
||||
Formatter ft(args);
|
||||
if (_downloadStatusInfo.Source.empty())
|
||||
{
|
||||
ft.add<int16_t>(static_cast<int16_t>(_downloadStatusInfo.Count));
|
||||
ft.add<int16_t>(static_cast<int16_t>(_downloadStatusInfo.Total));
|
||||
ft.add<char*>(_downloadStatusInfo.Name.c_str());
|
||||
ft.Add<int16_t>(static_cast<int16_t>(_downloadStatusInfo.Count));
|
||||
ft.Add<int16_t>(static_cast<int16_t>(_downloadStatusInfo.Total));
|
||||
ft.Add<char*>(_downloadStatusInfo.Name.c_str());
|
||||
format_string(str_downloading_objects, sizeof(str_downloading_objects), STR_DOWNLOADING_OBJECTS, args);
|
||||
}
|
||||
else
|
||||
{
|
||||
ft.add<char*>(_downloadStatusInfo.Name.c_str());
|
||||
ft.add<char*>(_downloadStatusInfo.Source.c_str());
|
||||
ft.add<int16_t>(static_cast<int16_t>(_downloadStatusInfo.Count));
|
||||
ft.add<int16_t>(static_cast<int16_t>(_downloadStatusInfo.Total));
|
||||
ft.Add<char*>(_downloadStatusInfo.Name.c_str());
|
||||
ft.Add<char*>(_downloadStatusInfo.Source.c_str());
|
||||
ft.Add<int16_t>(static_cast<int16_t>(_downloadStatusInfo.Count));
|
||||
ft.Add<int16_t>(static_cast<int16_t>(_downloadStatusInfo.Total));
|
||||
format_string(str_downloading_objects, sizeof(str_downloading_objects), STR_DOWNLOADING_OBJECTS_FROM, args);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user