fix for debugger tab completion (thanks wjp)

svn-id: r9515
This commit is contained in:
Max Horn 2003-08-05 19:23:26 +00:00
parent c99f6980c7
commit e738b64bb1

View File

@ -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;
}