diff options
author | George Hazan <ghazan@miranda.im> | 2016-12-03 00:22:58 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-12-03 00:22:58 +0300 |
commit | 10bbf1e71ad16fc4e0d274417c01ecaa4e3973f8 (patch) | |
tree | 1fc57e1b7dc3a0e02802dbc6170dc0a87cae7e1a | |
parent | 038a1881e9d3b541b13439ce41fb91f12f953bfe (diff) |
crash fix
-rw-r--r-- | src/mir_app/src/miranda.cpp | 8 |
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)
|