mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
Some tidy up of sprintf to StringFromFormat
This commit is contained in:
parent
64e01ec763
commit
ebff7974c3
13 changed files with 64 additions and 111 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue