diff options
| author | Max Horn | 2010-11-01 16:02:28 +0000 |
|---|---|---|
| committer | Max Horn | 2010-11-01 16:02:28 +0000 |
| commit | e27b05ef358102fd60235a5f78d7d51e9f25a5f4 (patch) | |
| tree | 50e994a47741bf619de730f6a3ece5d0a0cc7e95 /engines/groovie | |
| parent | 7a853650047064fb15720bb58ce7c5eec28ef606 (diff) | |
| download | scummvm-rg350-e27b05ef358102fd60235a5f78d7d51e9f25a5f4.tar.gz scummvm-rg350-e27b05ef358102fd60235a5f78d7d51e9f25a5f4.tar.bz2 scummvm-rg350-e27b05ef358102fd60235a5f78d7d51e9f25a5f4.zip | |
COMMON: Rename String::printf() to String::format()
This is a first step towards getting rid of all uses of regular printf,
fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase.
The name format() reflects the purpose of the function, and parallels
String.format() in Java, boost::format, and others.
svn-id: r54004
Diffstat (limited to 'engines/groovie')
| -rw-r--r-- | engines/groovie/script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/groovie/script.cpp b/engines/groovie/script.cpp index 9fd7fa7d63..4abfff74f2 100644 --- a/engines/groovie/script.cpp +++ b/engines/groovie/script.cpp @@ -214,7 +214,7 @@ void Script::directGameLoad(int slot) { void Script::step() { // Prepare the base debug string - _debugString = _scriptFile + Common::String::printf("@0x%04X: ", _currentInstruction); + _debugString = _scriptFile + Common::String::format("@0x%04X: ", _currentInstruction); // Get the current opcode byte opcode = readScript8bits(); @@ -222,7 +222,7 @@ void Script::step() { opcode = opcode & 0x7F; // Show the opcode debug string - _debugString += Common::String::printf("op 0x%02X: ", opcode); + _debugString += Common::String::format("op 0x%02X: ", opcode); // Only output if we're not re-doing the previous instruction if (_currentInstruction != _oldInstruction) { |
