mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-30 23:13:31 +01:00
Windows: Fix test of GetPrivateProfileString output since this function discards double quotation marks
This commit is contained in:
parent
343d1a95dc
commit
28fc65e479
@ -3161,7 +3161,7 @@ namespace VeraCrypt
|
|||||||
szPathParam += L"\"";
|
szPathParam += L"\"";
|
||||||
|
|
||||||
if ( (0 < GetPrivateProfileStringW (L"SetupConfig", L"ReflectDrivers", L"", wszBuffer, ARRAYSIZE (wszBuffer), szSetupconfigLocation))
|
if ( (0 < GetPrivateProfileStringW (L"SetupConfig", L"ReflectDrivers", L"", wszBuffer, ARRAYSIZE (wszBuffer), szSetupconfigLocation))
|
||||||
&& (_wcsicmp (wszBuffer, szPathParam.c_str()) == 0)
|
&& (_wcsicmp (wszBuffer, szInstallPath) == 0)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
bSkipWrite = true;
|
bSkipWrite = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user