Gijs Vermeulen : kernelbase: Set req->mask in SetConsoleScreenBufferInfoEx.
Alexandre Julliard
julliard at winehq.org
Wed Mar 25 17:07:29 CDT 2020
Module: wine
Branch: master
Commit: e97fa67bc298c42c0ed319a3eb8b804dff693b70
URL: https://source.winehq.org/git/wine.git/?a=commit;h=e97fa67bc298c42c0ed319a3eb8b804dff693b70
Author: Gijs Vermeulen <gijsvrm at gmail.com>
Date: Tue Mar 24 22:52:13 2020 +0100
kernelbase: Set req->mask in SetConsoleScreenBufferInfoEx.
Signed-off-by: Gijs Vermeulen <gijsvrm at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernelbase/console.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/kernelbase/console.c b/dlls/kernelbase/console.c
index b9843850c8..347f1d2a63 100644
--- a/dlls/kernelbase/console.c
+++ b/dlls/kernelbase/console.c
@@ -1159,6 +1159,9 @@ BOOL WINAPI DECLSPEC_HOTPATCH SetConsoleScreenBufferInfoEx( HANDLE handle,
SERVER_START_REQ( set_console_output_info )
{
req->handle = console_handle_unmap( handle );
+ req->mask = SET_CONSOLE_OUTPUT_INFO_CURSOR_POS | SET_CONSOLE_OUTPUT_INFO_SIZE |
+ SET_CONSOLE_OUTPUT_INFO_ATTR | SET_CONSOLE_OUTPUT_INFO_POPUP_ATTR |
+ SET_CONSOLE_OUTPUT_INFO_DISPLAY_WINDOW | SET_CONSOLE_OUTPUT_INFO_MAX_SIZE;
req->width = info->dwSize.X;
req->height = info->dwSize.Y;
req->cursor_x = info->dwCursorPosition.X;
More information about the wine-cvs
mailing list