mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 08:39:28 +00:00
* 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:
1 parent
a321606813
commit
47043f959f
4 files changed
+26
-12
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user