conhost: Don't compare the console config if the user cancels the dialog.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7a49ff107e
commit
dfb7428f20
|
@ -2036,7 +2036,8 @@ static BOOL config_dialog( struct console *console, BOOL current )
|
||||||
header.hwndParent = console->win;
|
header.hwndParent = console->win;
|
||||||
header.u3.phpage = pages;
|
header.u3.phpage = pages;
|
||||||
header.dwFlags = PSH_NOAPPLYNOW;
|
header.dwFlags = PSH_NOAPPLYNOW;
|
||||||
PropertySheetW( &header );
|
if (PropertySheetW( &header ) < 1)
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
if (!memcmp( &prev_config, &di.config, sizeof(prev_config) ))
|
if (!memcmp( &prev_config, &di.config, sizeof(prev_config) ))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue