summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-27 18:45:23 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-27 18:45:23 +0300
commit2828be06827872993527bb103bd1ffb546a7a935 (patch)
tree77decef018a39893b2427f57ea891ed06096def5 /src
parentc9d1f394e5b44fcfab5ae7ef25006779516f03ff (diff)
Options - Plugins to display file version instead of product version
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/pluginopts.cpp3
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