* grub-core/normal/term.c: Few more fixes for menu entry editor
rendering. Reported by: Andrey Borzenkov <arvidjaar@gmail.com>
This commit is contained in:
parent
a321606813
commit
47043f959f
4 changed files with 26 additions and 12 deletions
|
@ -347,14 +347,6 @@ grub_term_border_width (struct grub_term_output *term)
|
|||
return grub_term_width (term) - GRUB_TERM_MARGIN * 2;
|
||||
}
|
||||
|
||||
/* The max column number of an entry. The last "-1" is for a
|
||||
continuation marker. */
|
||||
static inline int
|
||||
grub_term_entry_width (struct grub_term_output *term)
|
||||
{
|
||||
return grub_term_border_width (term) - GRUB_TERM_MARGIN * 2 - 1;
|
||||
}
|
||||
|
||||
static inline grub_uint16_t
|
||||
grub_term_getxy (struct grub_term_output *term)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue