diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-10-25 18:13:07 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-10-25 18:25:29 +0200 |
commit | 28fc65e47992a068a73f3b6332ba9c82e4716bc8 (patch) | |
tree | 8871ab2567a6a2d21d04c12116bf6c5eb8779569 /src/Common/BootEncryption.cpp | |
parent | 343d1a95dc711f0eba5d858967e57ad583b5aa0c (diff) | |
download | VeraCrypt-28fc65e47992a068a73f3b6332ba9c82e4716bc8.tar.gz VeraCrypt-28fc65e47992a068a73f3b6332ba9c82e4716bc8.zip |
Windows: Fix test of GetPrivateProfileString output since this function discards double quotation marks
Diffstat (limited to 'src/Common/BootEncryption.cpp')
-rw-r--r-- | src/Common/BootEncryption.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/BootEncryption.cpp b/src/Common/BootEncryption.cpp index 16fac487..ed1237c1 100644 --- a/src/Common/BootEncryption.cpp +++ b/src/Common/BootEncryption.cpp @@ -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; |