diff options
-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; } |