mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
2002-12-04 Yoshinori K. Okuji <okuji@enbug.org>
* stage2/stage2.c (print_entry): Put a right arrow, if the entry is longer than 71 characters. Reported by Pavel Roskin.
This commit is contained in:
1 parent
772e28b8c2
commit
ad2df4cd66
2 files changed
+11
-1
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2002-12-04 Yoshinori K. Okuji <okuji@enbug.org>
|
||||||
|
|
||||||
|
* stage2/stage2.c (print_entry): Put a right arrow, if the entry
|
||||||
|
is longer than 71 characters. Reported by Pavel Roskin.
|
||||||
|
|
||||||
2002-12-04 Yoshinori K. Okuji <okuji@enbug.org>
|
2002-12-04 Yoshinori K. Okuji <okuji@enbug.org>
|
||||||
|
|
||||||
* stage2/disk_io.c (set_device): If '(n' is given, add 'd' into
|
* stage2/disk_io.c (set_device): If '(n' is given, add 'd' into
|
||||||
|
|||||||
+6
-1
@@ -109,8 +109,13 @@ print_entry (int y, int highlight, char *entry)
|
|||||||
grub_putchar (' ');
|
grub_putchar (' ');
|
||||||
for (x = 3; x < 75; x++)
|
for (x = 3; x < 75; x++)
|
||||||
{
|
{
|
||||||
if (*entry && x < 71)
|
if (*entry && x <= 72)
|
||||||
|
{
|
||||||
|
if (x == 72)
|
||||||
|
grub_putchar (DISP_RIGHT);
|
||||||
|
else
|
||||||
grub_putchar (*entry++);
|
grub_putchar (*entry++);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
grub_putchar (' ');
|
grub_putchar (' ');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user