Skip to content

Commit

Permalink
Add build number to version in menu
Browse files Browse the repository at this point in the history
  • Loading branch information
VinsWorldcom committed Jan 21, 2022
1 parent e9d3a4d commit 017c74e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions NppQCP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,11 @@ void InitCommandMenu() {
UINT len = 0;
VS_FIXEDFILEINFO* vsfi = NULL;
VerQueryValue(versionInfo, L"\\", (void**)&vsfi, &len);
wsprintf(version, L"%d.%d.%d",
wsprintf(version, L"%d.%d.%d.%d",
HIWORD(vsfi->dwFileVersionMS),
LOWORD(vsfi->dwFileVersionMS),
HIWORD(vsfi->dwFileVersionLS)
HIWORD(vsfi->dwFileVersionLS),
LOWORD(vsfi->dwFileVersionLS)
);
delete[] versionInfo;

Expand Down

0 comments on commit 017c74e

Please sign in to comment.