Commit dfb7428f authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

conhost: Don't compare the console config if the user cancels the dialog.

parent 7a49ff10
......@@ -2036,7 +2036,8 @@ static BOOL config_dialog( struct console *console, BOOL current )
header.hwndParent = console->win;
header.u3.phpage = pages;
header.dwFlags = PSH_NOAPPLYNOW;
PropertySheetW( &header );
if (PropertySheetW( &header ) < 1)
return TRUE;
if (!memcmp( &prev_config, &di.config, sizeof(prev_config) ))
return TRUE;
......
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