Commit c7411a63 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

kernel32: Remove redundant attributes check.

parent ae7571a5
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment