diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c index 927c47f384a..a09984e6e01 100644 --- a/dlls/msi/msi.c +++ b/dlls/msi/msi.c @@ -1206,7 +1206,7 @@ UINT WINAPI MsiGetFileVersionA(LPCSTR szFilePath, LPSTR lpVersionBuf, if( lpLangBuf && pcchLangBuf && *pcchLangBuf ) { - lpwLangBuff = msi_alloc(*pcchVersionBuf*sizeof(WCHAR)); + lpwLangBuff = msi_alloc(*pcchLangBuf*sizeof(WCHAR)); if( !lpwLangBuff ) goto end; }