mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +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
+12
-2
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>
|
||||
|
||||
* stage2/disk_io.c (set_device): If '(n' is given, add 'd' into
|
||||
|
||||
+7
-2
@@ -109,8 +109,13 @@ print_entry (int y, int highlight, char *entry)
|
||||
grub_putchar (' ');
|
||||
for (x = 3; x < 75; x++)
|
||||
{
|
||||
if (*entry && x < 71)
|
||||
grub_putchar (*entry++);
|
||||
if (*entry && x <= 72)
|
||||
{
|
||||
if (x == 72)
|
||||
grub_putchar (DISP_RIGHT);
|
||||
else
|
||||
grub_putchar (*entry++);
|
||||
}
|
||||
else
|
||||
grub_putchar (' ');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user