diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-17 18:27:55 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-17 18:27:55 +0100 |
commit | df3d63c8daa201d1034057c74347907db294e56d (patch) | |
tree | 1c54c9561bc28232814e4e0f20939b322ec9137f /installer | |
parent | updater: SetFileInformationByHandle moved into x/sys (diff) | |
download | wireguard-windows-df3d63c8daa201d1034057c74347907db294e56d.tar.xz wireguard-windows-df3d63c8daa201d1034057c74347907db294e56d.zip |
fetcher: style
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'installer')
-rw-r--r-- | installer/fetcher/fetcher.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/installer/fetcher/fetcher.c b/installer/fetcher/fetcher.c index e4c94a02..cd5a7514 100644 --- a/installer/fetcher/fetcher.c +++ b/installer/fetcher/fetcher.c @@ -201,9 +201,8 @@ out: if (ret) { ShowWindow(progress, SW_SHOWDEFAULT); - if (MessageBoxA(progress, "Something went wrong when downloading the WireGuard installer. Would you like to open your web browser to the MSI download page?", "Download Error", MB_YESNO | MB_ICONWARNING) == IDYES) { + if (MessageBoxA(progress, "Something went wrong when downloading the WireGuard installer. Would you like to open your web browser to the MSI download page?", "Download Error", MB_YESNO | MB_ICONWARNING) == IDYES) ShellExecuteA(progress, NULL, "https://" server msi_path, NULL, NULL, SW_SHOWNORMAL); - } } exit(ret); return ret; |