kernel32: Remove redundant attributes check.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2017-09-20 12:27:59 +02:00 committed by Alexandre Julliard
parent ae7571a5bb
commit c7411a6390
1 changed files with 1 additions and 2 deletions

View File

@ -1000,8 +1000,7 @@ WCHAR* CONSOLE_Readline(HANDLE hConsoleIn, BOOL can_pos_cursor)
ctx.insert = !ctx.insert;
GetConsoleScreenBufferInfo(ctx.hConOut, &csbi);
if (ctx.csbi.wAttributes != csbi.wAttributes)
ctx.csbi.wAttributes = csbi.wAttributes;
ctx.csbi.wAttributes = csbi.wAttributes;
if (func)
(func)(&ctx);