From 10bbf1e71ad16fc4e0d274417c01ecaa4e3973f8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 3 Dec 2016 00:22:58 +0300 Subject: crash fix --- src/mir_app/src/miranda.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mir_app') 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) -- cgit v1.2.3