diff options
author | Colin Snover | 2017-12-19 19:27:13 -0600 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-18 16:30:05 +0200 |
commit | 481b608c51858d0b6afc3cfb461664fc9575c6a0 (patch) | |
tree | 984187ecdb5246049f02a7e46aa802739fedd93e /engines/parallaction/exec_ns.cpp | |
parent | bc3c8bd8d251b7a0631e1993e6365719382eacf6 (diff) | |
download | scummvm-rg350-481b608c51858d0b6afc3cfb461664fc9575c6a0.tar.gz scummvm-rg350-481b608c51858d0b6afc3cfb461664fc9575c6a0.tar.bz2 scummvm-rg350-481b608c51858d0b6afc3cfb461664fc9575c6a0.zip |
PARALLACTION: Replace use of strdup with Common::String & malloc
Diffstat (limited to 'engines/parallaction/exec_ns.cpp')
-rw-r--r-- | engines/parallaction/exec_ns.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/exec_ns.cpp b/engines/parallaction/exec_ns.cpp index 45fe0a9900..de1ca35243 100644 --- a/engines/parallaction/exec_ns.cpp +++ b/engines/parallaction/exec_ns.cpp @@ -234,7 +234,7 @@ DECLARE_COMMAND_OPCODE(get) { DECLARE_COMMAND_OPCODE(location) { - _vm->scheduleLocationSwitch(ctxt._cmd->_string); + _vm->scheduleLocationSwitch(ctxt._cmd->_string.c_str()); } |