summaryrefslogtreecommitdiff
path: root/plugins/CrashDumper
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-02-09 23:29:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-02-09 23:29:39 +0300
commit33d2c8e71902aa37d3fc978cb91e0a842a600960 (patch)
tree6299befcafeab753147801bc1cc218bda1767bb1 /plugins/CrashDumper
parent88a0598eb097f57eb643db0bdea05716cc181dc5 (diff)
CrashDumper: fix for displaying dll versions
Diffstat (limited to 'plugins/CrashDumper')
-rw-r--r--plugins/CrashDumper/src/dumper.cpp2
-rw-r--r--plugins/CrashDumper/src/version.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CrashDumper/src/dumper.cpp b/plugins/CrashDumper/src/dumper.cpp
index ddf4fd2f56..86e5433a79 100644
--- a/plugins/CrashDumper/src/dumper.cpp
+++ b/plugins/CrashDumper/src/dumper.cpp
@@ -202,7 +202,7 @@ static void GetPluginsString(CMStringW &buffer, unsigned &flags)
void *pVerInfo = mir_alloc(verInfoSize);
GetFileVersionInfo(path, 0, verInfoSize, pVerInfo);
VerQueryValue(pVerInfo, L"\\", (LPVOID*)&fi, &blockSize);
- v1 = HIWORD(fi->dwProductVersionMS), v2 = LOWORD(fi->dwProductVersionMS), v3 = HIWORD(fi->dwProductVersionLS), v4 = LOWORD(fi->dwProductVersionLS);
+ v1 = HIWORD(fi->dwFileVersionMS), v2 = LOWORD(fi->dwFileVersionMS), v3 = HIWORD(fi->dwFileVersionLS), v4 = LOWORD(fi->dwFileVersionLS);
mir_free(pVerInfo);
}
else {
diff --git a/plugins/CrashDumper/src/version.h b/plugins/CrashDumper/src/version.h
index f181582dcf..323a32cc67 100644
--- a/plugins/CrashDumper/src/version.h
+++ b/plugins/CrashDumper/src/version.h
@@ -1,7 +1,7 @@
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 1
#define __RELEASE_NUM 0
-#define __BUILD_NUM 2
+#define __BUILD_NUM 3
#include <stdver.h>