diff options
author | Norbert Lange | 2009-08-17 12:58:53 +0000 |
---|---|---|
committer | Norbert Lange | 2009-08-17 12:58:53 +0000 |
commit | cc3a20c13cbf642dd08454d3cbd79edb6b3d3176 (patch) | |
tree | 64197760262270bf9c90d367864150ceb4b1f5b4 /engines/scumm | |
parent | c96affd0c1e5480fe1a4a3d3e82583c795570d21 (diff) | |
parent | e548e71ba1092a1091da79c5d4652c9d52578e65 (diff) | |
download | scummvm-rg350-cc3a20c13cbf642dd08454d3cbd79edb6b3d3176.tar.gz scummvm-rg350-cc3a20c13cbf642dd08454d3cbd79edb6b3d3176.tar.bz2 scummvm-rg350-cc3a20c13cbf642dd08454d3cbd79edb6b3d3176.zip |
merge with trunk
svn-id: r43478
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/imuse/imuse.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/scumm/imuse/imuse.cpp b/engines/scumm/imuse/imuse.cpp index 2d20b72db6..455eaac984 100644 --- a/engines/scumm/imuse/imuse.cpp +++ b/engines/scumm/imuse/imuse.cpp @@ -695,11 +695,11 @@ int32 IMuseInternal::doCommand_internal(int numargs, int a[]) { return -1; { - char string[128]; - sprintf(string, "doCommand - %d (%d/%d)", a[0], (int)param, (int)cmd); + Common::String string = "doCommand - "; + string += Common::String::printf("%d (%d/%d)", a[0], (int)param, (int)cmd); for (i = 1; i < numargs; ++i) - sprintf(string + strlen(string), ", %d", a[i]); - debugC(DEBUG_IMUSE, string); + string += Common::String::printf(", %d", a[i]); + debugC(DEBUG_IMUSE, "%s", string.c_str()); } if (param == 0) { |