Windows: Fix test of GetPrivateProfileString output since this function discards double quotation marks

This commit is contained in:
Mounir IDRASSI 2019-10-25 18:13:07 +02:00
parent 343d1a95dc
commit 28fc65e479
No known key found for this signature in database
GPG Key ID: 02C30AE90FAE4A6F
1 changed files with 1 additions and 1 deletions

View File

@ -3161,7 +3161,7 @@ namespace VeraCrypt
szPathParam += L"\"";
if ( (0 < GetPrivateProfileStringW (L"SetupConfig", L"ReflectDrivers", L"", wszBuffer, ARRAYSIZE (wszBuffer), szSetupconfigLocation))
&& (_wcsicmp (wszBuffer, szPathParam.c_str()) == 0)
&& (_wcsicmp (wszBuffer, szInstallPath) == 0)
)
{
bSkipWrite = true;