VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Common/BootEncryption.cpp2
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;