mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OpenCanopy: Fix buggy ASSERT
Fixes https://github.com/acidanthera/bugtracker/issues/1439
This commit is contained in:
parent
cb6bb3dba5
commit
c4b2f06bb2
@ -301,7 +301,7 @@ InternelBootPickerScrollSelected (
|
||||
// This is done to achieve the correct offset during initialisation as the
|
||||
// entries may be at "half-steps" due to centering.
|
||||
//
|
||||
ASSERT ((mBootPickerContainer.Obj.Width + BOOT_ENTRY_SPACE) % ((BOOT_ENTRY_WIDTH + BOOT_ENTRY_SPACE) * Scale) == 0);
|
||||
ASSERT ((mBootPickerContainer.Obj.Width + BOOT_ENTRY_SPACE * Scale) % ((BOOT_ENTRY_WIDTH + BOOT_ENTRY_SPACE) * Scale) == 0);
|
||||
|
||||
if (EntryOffsetX < 0) {
|
||||
return -EntryOffsetX;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user