msi: Constify some variables.
This commit is contained in:
parent
4bd4e5d39f
commit
5346ba392d
|
@ -493,7 +493,7 @@ static UINT ACTION_FileVersionMatches(MSISIGNATURE *sig, LPCWSTR filePath,
|
||||||
|
|
||||||
if (buf)
|
if (buf)
|
||||||
{
|
{
|
||||||
static WCHAR rootW[] = { '\\',0 };
|
static const WCHAR rootW[] = { '\\',0 };
|
||||||
UINT versionLen;
|
UINT versionLen;
|
||||||
LPVOID subBlock = NULL;
|
LPVOID subBlock = NULL;
|
||||||
|
|
||||||
|
|
|
@ -1231,7 +1231,7 @@ end:
|
||||||
UINT WINAPI MsiGetFileVersionW(LPCWSTR szFilePath, LPWSTR lpVersionBuf,
|
UINT WINAPI MsiGetFileVersionW(LPCWSTR szFilePath, LPWSTR lpVersionBuf,
|
||||||
DWORD* pcchVersionBuf, LPWSTR lpLangBuf, DWORD* pcchLangBuf)
|
DWORD* pcchVersionBuf, LPWSTR lpLangBuf, DWORD* pcchLangBuf)
|
||||||
{
|
{
|
||||||
static WCHAR szVersionResource[] = {'\\',0};
|
static const WCHAR szVersionResource[] = {'\\',0};
|
||||||
static const WCHAR szVersionFormat[] = {
|
static const WCHAR szVersionFormat[] = {
|
||||||
'%','d','.','%','d','.','%','d','.','%','d',0};
|
'%','d','.','%','d','.','%','d','.','%','d',0};
|
||||||
static const WCHAR szLangFormat[] = {'%','d',0};
|
static const WCHAR szLangFormat[] = {'%','d',0};
|
||||||
|
|
Loading…
Reference in New Issue