mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-24 11:36:22 +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 {
|
Common::String SciEngine::getSavegameName(int nr) const {
|
||||||
char extension[6];
|
return _targetName + Common::String::printf(".%03d", nr);
|
||||||
snprintf(extension, sizeof(extension), ".%03d", nr);
|
|
||||||
return _targetName + extension;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Common::String SciEngine::getSavegamePattern() const {
|
Common::String SciEngine::getSavegamePattern() const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user