diff options
author | Max Horn | 2003-08-05 19:23:26 +0000 |
---|---|---|
committer | Max Horn | 2003-08-05 19:23:26 +0000 |
commit | e738b64bb1d693b0eb433d545cc985e141c7bae7 (patch) | |
tree | 65406b44bdeab94e20e1479e25dbf5f6290d44b4 /scumm | |
parent | c99f6980c70ea60f5aba8f45a0384059f24deabc (diff) | |
download | scummvm-rg350-e738b64bb1d693b0eb433d545cc985e141c7bae7.tar.gz scummvm-rg350-e738b64bb1d693b0eb433d545cc985e141c7bae7.tar.bz2 scummvm-rg350-e738b64bb1d693b0eb433d545cc985e141c7bae7.zip |
fix for debugger tab completion (thanks wjp)
svn-id: r9515
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/debugger.cpp b/scumm/debugger.cpp index 7a860960ac..6551c64599 100644 --- a/scumm/debugger.cpp +++ b/scumm/debugger.cpp @@ -1062,7 +1062,7 @@ bool ScummDebugger::TabComplete(const char *input, char*& completion) { completion = new char[matchlen+1]; memcpy(completion, match, matchlen); - completion[matchlen+1] = 0; + completion[matchlen] = 0; return true; } |