From 331f1dc125a8418393e16a9ba67b57c0673f79d9 Mon Sep 17 00:00:00 2001 From: Muzychenko Andrey <33288308+k4zmu2a@users.noreply.github.com> Date: Sat, 16 Oct 2021 16:19:53 +0300 Subject: [PATCH] Added release version to about dialog. --- SpaceCadetPinball/winmain.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SpaceCadetPinball/winmain.cpp b/SpaceCadetPinball/winmain.cpp index f1b2b19..a051dee 100644 --- a/SpaceCadetPinball/winmain.cpp +++ b/SpaceCadetPinball/winmain.cpp @@ -800,10 +800,11 @@ HDC winmain::_GetDC(HWND hWnd) int winmain::a_dialog(HINSTANCE hInstance, HWND hWnd) { char appName[100]; - char szOtherStuff[100]; + char szOtherStuff[130]; lstrcpyA(appName, pinball::get_rc_string(38, 0)); lstrcpyA(szOtherStuff, pinball::get_rc_string(102, 0)); + strcat_s(szOtherStuff, " Decompilation version 1.1.2"); auto icon = LoadIconA(hInstance, "ICON_1"); return ShellAboutA(hWnd, appName, szOtherStuff, icon); }