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