More version number fixes

This commit is contained in:
Harm committed 2022-05-14 21:48:54 +02:00
1 parent 49e820f86f
commit 177675a0a3
1 file changed
+4 -4
+4 -4
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;