XTLDR Rewrite #7

Birleştirildi
belliash 2024-01-09 18:51:04 +01:00 xtldr_rewrite içindeki 184 işlemeyi master ile birleştirdi
Sadece 46253c0503 işlemesindeki değişiklikler gösteriliyor - Tüm işlemeleri göster

Dosyayı Görüntüle

@@ -59,6 +59,13 @@ BlDisplayBootMenu()
/* Check if there is anything to show in the boot menu */ /* Check if there is anything to show in the boot menu */
if(NumberOfEntries > 0) { if(NumberOfEntries > 0) {
/* Check if all menu entries will fit into the menu box */
if(NumberOfEntries > Handle.Height - 2)
{
/* Too many menu entries, limit entries to match box height (-2 for upper and bottom borders) */
NumberOfEntries = Handle.Height - 2;
}
/* Iterate through all menu entries */ /* Iterate through all menu entries */
for(Index = 0; Index < NumberOfEntries; Index++) for(Index = 0; Index < NumberOfEntries; Index++)
{ {