Change startup error button to IDCANCEL, enabling the user to close the TaskDialog instead

This commit is contained in:
RichardG867
2020-06-17 23:24:56 -03:00
parent eee75a7c1d
commit 78bc6d9887

View File

@@ -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);