diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-27 18:45:23 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-27 18:45:23 +0300 |
commit | 2828be06827872993527bb103bd1ffb546a7a935 (patch) | |
tree | 77decef018a39893b2427f57ea891ed06096def5 /src | |
parent | c9d1f394e5b44fcfab5ae7ef25006779516f03ff (diff) |
Options - Plugins to display file version instead of product version
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/pluginopts.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mir_app/src/pluginopts.cpp b/src/mir_app/src/pluginopts.cpp index 7358667274..2a6e5ba783 100644 --- a/src/mir_app/src/pluginopts.cpp +++ b/src/mir_app/src/pluginopts.cpp @@ -135,8 +135,7 @@ static BOOL dialogListPlugins(WIN32_FIND_DATA *fd, wchar_t *path, WPARAM, LPARAM void *pVerInfo = mir_alloc(verInfoSize);
GetFileVersionInfo(buf, 0, verInfoSize, pVerInfo);
VerQueryValue(pVerInfo, L"\\", (LPVOID*)&fi, &blockSize);
- mir_snwprintf(buf, L"%d.%d.%d.%d", HIWORD(fi->dwProductVersionMS),
- LOWORD(fi->dwProductVersionMS), HIWORD(fi->dwProductVersionLS), LOWORD(fi->dwProductVersionLS));
+ mir_snwprintf(buf, L"%d.%d.%d.%d", HIWORD(fi->dwFileVersionMS), LOWORD(fi->dwFileVersionMS), HIWORD(fi->dwFileVersionLS), LOWORD(fi->dwFileVersionLS));
mir_free(pVerInfo);
}
else
|