diff options
author | Walter van Niftrik | 2009-05-08 22:44:26 +0000 |
---|---|---|
committer | Walter van Niftrik | 2009-05-08 22:44:26 +0000 |
commit | 4f4bef88b1eff0bd4aaad704814d52b8e21caed7 (patch) | |
tree | 793d8ee573a63dfdcbdbccff87db0413530d2860 | |
parent | b0b25acf9619d8dae39fa5df5dbc9c9ae88b876f (diff) | |
download | scummvm-rg350-4f4bef88b1eff0bd4aaad704814d52b8e21caed7.tar.gz scummvm-rg350-4f4bef88b1eff0bd4aaad704814d52b8e21caed7.tar.bz2 scummvm-rg350-4f4bef88b1eff0bd4aaad704814d52b8e21caed7.zip |
SCI: Fix return value of GetMessage.
svn-id: r40394
-rw-r--r-- | engines/sci/engine/kstring.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kstring.cpp b/engines/sci/engine/kstring.cpp index 9936f5234e..3a92424b56 100644 --- a/engines/sci/engine/kstring.cpp +++ b/engines/sci/engine/kstring.cpp @@ -799,7 +799,7 @@ reg_t kGetMessage(EngineState *s, int funct_nr, int argc, reg_t *argv) { if (buffer) state.getText(buffer, 255); - return make_reg(0, *buffer); + return argv[3]; } else { return NULL_REG; } |