diff options
author | Filippos Karapetis | 2009-09-30 15:21:44 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-09-30 15:21:44 +0000 |
commit | 1497f9845a860e2d1ab6a6a5b418233239af427b (patch) | |
tree | 8fedc4734a146868a844b8cf35e47fffea01c8e6 /engines/sci/engine/kstring.cpp | |
parent | 2240886315c4031fc7e68ae644916e35c607615e (diff) | |
download | scummvm-rg350-1497f9845a860e2d1ab6a6a5b418233239af427b.tar.gz scummvm-rg350-1497f9845a860e2d1ab6a6a5b418233239af427b.tar.bz2 scummvm-rg350-1497f9845a860e2d1ab6a6a5b418233239af427b.zip |
Fixed regression in r44417, found by waltervn. The score in KQ1SCI should be diplayed correctly again
svn-id: r44490
Diffstat (limited to 'engines/sci/engine/kstring.cpp')
-rw-r--r-- | engines/sci/engine/kstring.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/kstring.cpp b/engines/sci/engine/kstring.cpp index 308d8064a2..740e70ffb4 100644 --- a/engines/sci/engine/kstring.cpp +++ b/engines/sci/engine/kstring.cpp @@ -529,6 +529,7 @@ reg_t kFormat(EngineState *s, int argc, reg_t *argv) { val = (int16)arguments[paramindex]; target += sprintf(target, format_string, val); + paramindex++; CHECK_OVERFLOW1(target, 0, NULL_REG); unsigned_var = 0; |