1
0
mirror of synced 2025-01-31 20:15:26 +01:00

More version number fixes

This commit is contained in:
Harm 2022-05-14 21:48:54 +02:00
parent 49e820f86f
commit 177675a0a3

View File

@ -60,10 +60,10 @@ wchar_t* GetFileVersion(const wchar_t* pszFilePath)
}
swprintf(versionString, 64, L"%d.%d.%d.%d",
(pFileInfo->dwFileVersionMS >> 16) & 0xff,
(pFileInfo->dwFileVersionMS >> 0) & 0xff,
(pFileInfo->dwFileVersionLS >> 16) & 0xff,
(pFileInfo->dwFileVersionLS >> 0) & 0xff
(pFileInfo->dwFileVersionMS >> 16) & 0xFFFF,
(pFileInfo->dwFileVersionMS >> 0) & 0xFFFF,
(pFileInfo->dwFileVersionLS >> 16) & 0xFFFF,
(pFileInfo->dwFileVersionLS >> 0) & 0xFFFF
);
return versionString;