mirror of
https://github.com/reactos/reactos.git
synced 2024-07-30 16:18:43 +00:00
[CONSRV]
- Silence a DPRINT. - Properly initialize the selection. svn path=/trunk/; revision=63564
This commit is contained in:
parent
a40b302a03
commit
53581dcf0b
|
@ -34,7 +34,7 @@ GuiCopyFromGraphicsBuffer(PGRAPHICS_SCREEN_BUFFER Buffer,
|
|||
|
||||
selWidth = GuiData->Selection.srSelection.Right - GuiData->Selection.srSelection.Left + 1;
|
||||
selHeight = GuiData->Selection.srSelection.Bottom - GuiData->Selection.srSelection.Top + 1;
|
||||
DPRINT1("Selection is (%d|%d) to (%d|%d)\n",
|
||||
DPRINT("Selection is (%d|%d) to (%d|%d)\n",
|
||||
GuiData->Selection.srSelection.Left,
|
||||
GuiData->Selection.srSelection.Top,
|
||||
GuiData->Selection.srSelection.Right,
|
||||
|
|
|
@ -533,8 +533,11 @@ GuiInitFrontEnd(IN OUT PFRONTEND This,
|
|||
GuiData->CmdIdLow = GuiData->CmdIdHigh = 0;
|
||||
|
||||
/* Initialize the selection */
|
||||
RtlZeroMemory(&GuiData->Selection, sizeof(CONSOLE_SELECTION_INFO));
|
||||
RtlZeroMemory(&GuiData->Selection, sizeof(GuiData->Selection));
|
||||
GuiData->Selection.dwFlags = CONSOLE_NO_SELECTION;
|
||||
RtlZeroMemory(&GuiData->dwSelectionCursor, sizeof(GuiData->dwSelectionCursor));
|
||||
GuiData->LineSelection = FALSE; // Default to block selection
|
||||
// TODO: Retrieve the selection mode via the registry.
|
||||
|
||||
/*
|
||||
* We need to wait until the GUI has been fully initialized
|
||||
|
|
Loading…
Reference in a new issue