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:
parent
ae7571a5bb
commit
c7411a6390
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue