https://git.reactos.org/?p=reactos.git;a=commitdiff;h=421150d5c34c0c88d6c4b…
commit 421150d5c34c0c88d6c4b7a6f7ca94f1a9e268bd
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sun Feb 9 00:27:01 2020 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sun Feb 9 00:37:44 2020 +0100
[CONSRV] Minor code cleanup.
---
win32ss/user/winsrv/consrv/condrv/conoutput.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/win32ss/user/winsrv/consrv/condrv/conoutput.c
b/win32ss/user/winsrv/consrv/condrv/conoutput.c
index 2f96f280835..3e6f2407607 100644
--- a/win32ss/user/winsrv/consrv/condrv/conoutput.c
+++ b/win32ss/user/winsrv/consrv/condrv/conoutput.c
@@ -329,8 +329,7 @@ ConDrvSetConsoleCursorPosition(IN PCONSOLE Console,
OldCursorX = Buffer->CursorPosition.X;
OldCursorY = Buffer->CursorPosition.Y;
Buffer->CursorPosition = *Position;
- // Buffer->CursorPosition.X = Position->X;
- // Buffer->CursorPosition.Y = Position->Y;
+
if ( ((PCONSOLE_SCREEN_BUFFER)Buffer == Console->ActiveBuffer) &&
(!TermSetScreenInfo(Console, (PCONSOLE_SCREEN_BUFFER)Buffer, OldCursorX,
OldCursorY)) )
{