From 15a9eebae6a46d7e548bf2c7613b330121e12531 Mon Sep 17 00:00:00 2001 From: asava Date: Wed, 22 Apr 2020 19:37:28 +0300 Subject: [PATCH] Correct ACPI DropTables parsing --- rEFIt_UEFI/Platform/Settings.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rEFIt_UEFI/Platform/Settings.cpp b/rEFIt_UEFI/Platform/Settings.cpp index f95a6f758..8723a1f68 100644 --- a/rEFIt_UEFI/Platform/Settings.cpp +++ b/rEFIt_UEFI/Platform/Settings.cpp @@ -5173,9 +5173,9 @@ GetUserSettings( DBG (" length=%d(0x%X)", TabLength, TabLength); } // Check if to drop for other OS as well - Prop = GetProperty (Dict2, "DropForAllOS"); - if (Prop != NULL) { - OtherOS = IsPropertyTrue (Prop); + Prop2 = GetProperty (Dict2, "DropForAllOS"); + if (Prop2 != NULL) { + OtherOS = IsPropertyTrue (Prop2); } DBG ("\n");