From 8d9cadfb22480484791d451dffb0f3da4c071291 Mon Sep 17 00:00:00 2001 From: Devin Teske Date: Tue, 9 Oct 2012 01:31:03 +0000 Subject: [PATCH] Make the "Options:" separator-text configurable by setting $menu_optionstext. Reviewed by: eadler, adrian (co-mentor) Approved by: adrian (co-mentor) MFC after: 3 days --- sys/boot/forth/menu.4th | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/boot/forth/menu.4th b/sys/boot/forth/menu.4th index 1059a12b51e..3ba7683145f 100644 --- a/sys/boot/forth/menu.4th +++ b/sys/boot/forth/menu.4th @@ -488,7 +488,11 @@ create init_text8 255 allot menurow @ 2 + menurow ! menurow @ menuY @ + at-xy - ." Options:" + s" menu_optionstext" getenv dup -1 <> if + type + else + drop ." Options:" + then then \ If this is the ACPI menu option, act accordingly. @@ -972,6 +976,7 @@ create init_text8 255 allot \ clear the "Options" menu separator flag s" menu_options" unsetenv + s" menu_optionstext" unsetenv 0 menuoptions ! ;