From 15f5c2e0d4884c050643691658bbb8c2e34824f6 Mon Sep 17 00:00:00 2001 From: Ludvig Strigeus Date: Sun, 21 Oct 2018 16:37:39 +0200 Subject: [PATCH] Show patch nr in about box --- tunsafe_config.h | 3 ++- tunsafe_win32.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tunsafe_config.h b/tunsafe_config.h index bcbbdc0..70a3701 100644 --- a/tunsafe_config.h +++ b/tunsafe_config.h @@ -2,7 +2,8 @@ // Copyright (C) 2018 Ludvig Strigeus . All Rights Reserved. #pragma once -#define TUNSAFE_VERSION_STRING "TunSafe 1.4-rc1" +#define TUNSAFE_VERSION_STRING "TunSafe 1.5-rc1" +#define TUNSAFE_VERSION_STRING_LONG "TunSafe 1.5-rc1" #define WITH_HANDSHAKE_EXT 0 #define WITH_SHORT_HEADERS 0 diff --git a/tunsafe_win32.cpp b/tunsafe_win32.cpp index 4179bf8..1ca7944 100644 --- a/tunsafe_win32.cpp +++ b/tunsafe_win32.cpp @@ -901,7 +901,7 @@ static void HandleClickedItem(HWND hWnd, int wParam) { case IDSETT_BROWSE_FILES:BrowseFiles(); break; case IDSETT_OPEN_FILE: BrowseFile(hWnd); break; case IDSETT_ABOUT: - MessageBoxA(g_ui_window, TUNSAFE_VERSION_STRING "\r\n\r\nCopyright © 2018, Ludvig Strigeus\r\n\r\nThanks for choosing TunSafe!\r\n\r\nThis version was built on " __DATE__ " " __TIME__, "About TunSafe", MB_ICONINFORMATION); + MessageBoxA(g_ui_window, TUNSAFE_VERSION_STRING_LONG "\r\n\r\nCopyright © 2018, Ludvig Strigeus\r\n\r\nThanks for choosing TunSafe!\r\n\r\nThis version was built on " __DATE__ " " __TIME__, "About TunSafe", MB_ICONINFORMATION); break; case IDSETT_KEYPAIR: DialogBox(g_hinstance, MAKEINTRESOURCE(IDD_DIALOG2), hWnd, &KeyPairDlgProc);