aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/kconfig/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c
index 9e69f1934836..db1512ae30cc 100644
--- a/scripts/kconfig/menu.c
+++ b/scripts/kconfig/menu.c
@@ -584,7 +584,7 @@ static void get_prompt_str(struct gstr *r, struct property *prop,
584 for (j = 4; --i >= 0; j += 2) { 584 for (j = 4; --i >= 0; j += 2) {
585 menu = submenu[i]; 585 menu = submenu[i];
586 if (head && location && menu == location) 586 if (head && location && menu == location)
587 jump->offset = r->len - 1; 587 jump->offset = strlen(r->s);
588 str_printf(r, "%*c-> %s", j, ' ', 588 str_printf(r, "%*c-> %s", j, ' ',
589 _(menu_get_prompt(menu))); 589 _(menu_get_prompt(menu)));
590 if (menu->sym) { 590 if (menu->sym) {