mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-24 03:24:50 +00:00
Use new Common::String::printf
svn-id: r42744
This commit is contained in:
parent
744112ceb0
commit
e408870260
@ -283,9 +283,7 @@ uint32 SciEngine::getFlags() const {
|
||||
}
|
||||
|
||||
Common::String SciEngine::getSavegameName(int nr) const {
|
||||
char extension[6];
|
||||
snprintf(extension, sizeof(extension), ".%03d", nr);
|
||||
return _targetName + extension;
|
||||
return _targetName + Common::String::printf(".%03d", nr);
|
||||
}
|
||||
|
||||
Common::String SciEngine::getSavegamePattern() const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user