mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Some tidy up of sprintf to StringFromFormat
This commit is contained in:
@ -54,9 +54,7 @@ std::string CVolumeGC::GetUniqueID() const
|
||||
|
||||
std::string CVolumeGC::GetRevisionSpecificUniqueID() const
|
||||
{
|
||||
char rev[16];
|
||||
sprintf(rev, "r%d", GetRevision());
|
||||
return GetUniqueID() + rev;
|
||||
return GetUniqueID() + StringFromFormat("r%d", GetRevision());
|
||||
}
|
||||
|
||||
IVolume::ECountry CVolumeGC::GetCountry() const
|
||||
|
Reference in New Issue
Block a user