https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f125cd1c71fd529ccadf7…
commit f125cd1c71fd529ccadf77d9f4485900f95c5d81
Author: Thamatip Chitpong <tangaming123456(a)outlook.com>
AuthorDate: Sun Nov 20 00:08:04 2022 +0700
Commit: GitHub <noreply(a)github.com>
CommitDate: Sat Nov 19 20:08:04 2022 +0300
[SYSDM] System Parameters: Close dialog on ESC (#4891)
CORE-18610
---
dll/cpl/sysdm/advanced.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dll/cpl/sysdm/advanced.c b/dll/cpl/sysdm/advanced.c
index ffa1e051ed6..ce8a5942235 100644
--- a/dll/cpl/sysdm/advanced.c
+++ b/dll/cpl/sysdm/advanced.c
@@ -104,6 +104,10 @@ SysSettingsDlgProc(HWND hwndDlg,
OnOK(hwndDlg);
EndDialog(hwndDlg, 0);
return TRUE;
+
+ case IDCANCEL:
+ EndDialog(hwndDlg, 0);
+ return TRUE;
}
break;
}