summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mir_app/src/miranda.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mir_app/src/miranda.cpp b/src/mir_app/src/miranda.cpp
index 188785555e..7cf7b71b7a 100644
--- a/src/mir_app/src/miranda.cpp
+++ b/src/mir_app/src/miranda.cpp
@@ -410,10 +410,10 @@ MIR_APP_DLL(void) Miranda_GetFileVersion(MFileVersion *pVer)
VS_FIXEDFILEINFO *vsffi;
VerQueryValue(pVerInfo, L"\\", (PVOID*)&vsffi, &blockSize);
- *pVer[0] = HIWORD(vsffi->dwProductVersionMS);
- *pVer[1] = LOWORD(vsffi->dwProductVersionMS);
- *pVer[2] = HIWORD(vsffi->dwProductVersionLS);
- *pVer[3] = LOWORD(vsffi->dwProductVersionLS);
+ (*pVer)[0] = HIWORD(vsffi->dwProductVersionMS);
+ (*pVer)[1] = LOWORD(vsffi->dwProductVersionMS);
+ (*pVer)[2] = HIWORD(vsffi->dwProductVersionLS);
+ (*pVer)[3] = LOWORD(vsffi->dwProductVersionLS);
}
MIR_APP_DLL(void) Miranda_GetVersionText(char *pDest, size_t cbSize)