1
0
Fork 0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2024-11-21 16:30:19 +01:00

Added release version to about dialog.

This commit is contained in:
Muzychenko Andrey 2021-10-16 16:19:53 +03:00
parent 0d9610ddb6
commit 331f1dc125

View file

@ -800,10 +800,11 @@ HDC winmain::_GetDC(HWND hWnd)
int winmain::a_dialog(HINSTANCE hInstance, HWND hWnd) int winmain::a_dialog(HINSTANCE hInstance, HWND hWnd)
{ {
char appName[100]; char appName[100];
char szOtherStuff[100]; char szOtherStuff[130];
lstrcpyA(appName, pinball::get_rc_string(38, 0)); lstrcpyA(appName, pinball::get_rc_string(38, 0));
lstrcpyA(szOtherStuff, pinball::get_rc_string(102, 0)); lstrcpyA(szOtherStuff, pinball::get_rc_string(102, 0));
strcat_s(szOtherStuff, " Decompilation version 1.1.2");
auto icon = LoadIconA(hInstance, "ICON_1"); auto icon = LoadIconA(hInstance, "ICON_1");
return ShellAboutA(hWnd, appName, szOtherStuff, icon); return ShellAboutA(hWnd, appName, szOtherStuff, icon);
} }