* src/xdisp.c (note_tab_bar_highlight): Remove fallback for help_echo_string.

Don't use TAB_BAR_ITEM_CAPTION as the default value
when TAB_BAR_ITEM_HELP is not specified (bug#73050).
This commit is contained in:
Juri Linkov 2024-09-09 21:33:10 +03:00
parent 466db35877
commit 24c4bc108d

View file

@ -15155,8 +15155,6 @@ note_tab_bar_highlight (struct frame *f, int x, int y)
help_echo_object = help_echo_window = Qnil;
help_echo_pos = -1;
help_echo_string = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_HELP);
if (NILP (help_echo_string))
help_echo_string = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_CAPTION);
}
#endif /* HAVE_WINDOW_SYSTEM */