mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 02:58:02 -06:00
Windows: Fix test of GetPrivateProfileString output since this function discards double quotation marks
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user