mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 00:12:59 +00:00
fix for debugger tab completion (thanks wjp)
svn-id: r9515
This commit is contained in:
parent
c99f6980c7
commit
e738b64bb1
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user