|
@@ -584,7 +584,7 @@ static void get_prompt_str(struct gstr *r, struct property *prop,
|
|
for (j = 4; --i >= 0; j += 2) {
|
|
for (j = 4; --i >= 0; j += 2) {
|
|
menu = submenu[i];
|
|
menu = submenu[i];
|
|
if (head && location && menu == location)
|
|
if (head && location && menu == location)
|
|
- jump->offset = r->len - 1;
|
|
|
|
|
|
+ jump->offset = strlen(r->s);
|
|
str_printf(r, "%*c-> %s", j, ' ',
|
|
str_printf(r, "%*c-> %s", j, ' ',
|
|
_(menu_get_prompt(menu)));
|
|
_(menu_get_prompt(menu)));
|
|
if (menu->sym) {
|
|
if (menu->sym) {
|