[NTOSKRNL]
authorPierre Schweitzer <pierre@reactos.org>
Tue, 1 Sep 2015 22:32:55 +0000 (22:32 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Tue, 1 Sep 2015 22:32:55 +0000 (22:32 +0000)
commit9bd7b0644873d840b969427c5efaded6a974a51b
treee67896e9580b06d7fbde58b1b91182299117803b
parent6dfa71c487dbb193ed7fb1a249a8c964ec3aef0d
[NTOSKRNL]
Fix KdpPrompt():
- Don't attempt to return in the middle of the loop. It leads to keep the mouse disabled instead of reenabling it.
- Also, return a string length that actually matches what was written to the output buffer.

This fixes invalid behavior on RtlAssert when used with #if 0 moved to #if 1, or when Windows NTDLL is used in ReactOS.

CORE-10082 #resolve #comment Fixed with r68905
CORE-10083 #resolve #comment Fixed with r68905

svn path=/trunk/; revision=68905
reactos/ntoskrnl/kdbg/kdb_cli.c