VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-06-08 23:16:51 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-06-08 23:18:02 (GMT)
commit3764f7e8b9a931ab212b0cda728de40d379ae53f (patch)
tree4e74b213fb2cf22747d24a84bd8c07a5cb794415 /src/Common
parent5c009d449e19f38e22a940ea517fde617761f037 (diff)
downloadVeraCrypt-3764f7e8b9a931ab212b0cda728de40d379ae53f.zip
VeraCrypt-3764f7e8b9a931ab212b0cda728de40d379ae53f.tar.gz
Windows: Fix false warning in case of GPT about Windows not installed on boot drive. This is caused by the fact that presence of "bootmgr" file is not mandatory in case of EFI Boot Loader.
Diffstat (limited to 'src/Common')
-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 a8481f3..79f62a1 100644
--- a/src/Common/BootEncryption.cpp
+++ b/src/Common/BootEncryption.cpp
@@ -4090,7 +4090,7 @@ namespace VeraCrypt
}
}
- if (!config.SystemLoaderPresent || !activePartitionFound)
+ if ((!config.SystemLoaderPresent && !config.SystemPartition.IsGPT) || !activePartitionFound)
{
static bool confirmed = false;