From 3764f7e8b9a931ab212b0cda728de40d379ae53f Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 9 Jun 2017 01:16:51 +0200 Subject: 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. --- src/Common/BootEncryption.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Common') diff --git a/src/Common/BootEncryption.cpp b/src/Common/BootEncryption.cpp index a8481f3b..79f62a16 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; -- cgit v1.2.3