From 78bc6d9887003dbd6cd08d3b46d005329258ea6e Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Wed, 17 Jun 2020 23:24:56 -0300 Subject: [PATCH] Change startup error button to IDCANCEL, enabling the user to close the TaskDialog instead --- src/win/win_ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win/win_ui.c b/src/win/win_ui.c index d13f45dbf..d47e4da0f 100644 --- a/src/win/win_ui.c +++ b/src/win/win_ui.c @@ -845,7 +845,7 @@ ui_init(int nCmdShow) RECT sbar_rect; /* RECT of the status bar */ int bRet; TASKDIALOGCONFIG tdconfig = {0}; - TASKDIALOG_BUTTON tdbuttons[] = {{IDOK, MAKEINTRESOURCE(IDS_2119)}}; + TASKDIALOG_BUTTON tdbuttons[] = {{IDCANCEL, MAKEINTRESOURCE(IDS_2119)}}; /* Set up TaskDialog configuration. */ tdconfig.cbSize = sizeof(tdconfig);