Skip to content

Commit

Permalink
Added version number to the wizard title
Browse files Browse the repository at this point in the history
  • Loading branch information
acidicoala committed Apr 9, 2021
1 parent 9cfaae3 commit 513944c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions IntegrationWizard/src/winmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ void askForAction(
)
{
TASKDIALOGCONFIG tdc = { sizeof(TASKDIALOGCONFIG) };
auto szTitle = L"Koalageddon Wizard";
auto szTitle = stow(fmt::format("Koalageddon Wizard v{}", VERSION));
auto szHeader = L"Welcome to the Koalageddon wizard.";
auto szBodyText =
L"Please select the platform for which you wish to install/remove integrations";
Expand Down Expand Up @@ -161,7 +161,7 @@ void askForAction(
tdc.dwFlags = TDF_ALLOW_DIALOG_CANCELLATION | TDF_USE_COMMAND_LINKS | TDF_EXPAND_FOOTER_AREA | TDF_ENABLE_HYPERLINKS;
tdc.pButtons = aCustomButtons;
tdc.cButtons = _countof(aCustomButtons);
tdc.pszWindowTitle = szTitle;
tdc.pszWindowTitle = szTitle.c_str();
tdc.pszMainIcon = TD_INFORMATION_ICON;
tdc.pszMainInstruction = szHeader;
tdc.cRadioButtons = (UINT) radioButtons.size();
Expand Down

0 comments on commit 513944c

Please sign in to comment.