mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 06:22:43 +00:00
7e98da058f
This change reorganizes and cleanups our patches to reduce the patch number from 314 patches to 187. That's achieved by dropping patches that are later reverted and squashing fixes for earlier patches that introduced features. There are no code changes and the diff with upstream is the same before and after the cleanup. Having fewer patches makes easier to manage the patchset and also will ease to rebase them on top of the latest grub-2.04 release. Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
24 lines
858 B
Diff
24 lines
858 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Peter Jones <pjones@redhat.com>
|
|
Date: Fri, 21 Jun 2013 14:44:08 -0400
|
|
Subject: [PATCH] Use -2 instead of -1 for our right-hand margin, so
|
|
linewrapping works (#976643).
|
|
|
|
Signed-off-by: Peter Jones <grub2-owner@fedoraproject.org>
|
|
---
|
|
grub-core/normal/menu_text.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/grub-core/normal/menu_text.c b/grub-core/normal/menu_text.c
|
|
index 0e43f2c10cc..537d4bf86ff 100644
|
|
--- a/grub-core/normal/menu_text.c
|
|
+++ b/grub-core/normal/menu_text.c
|
|
@@ -334,7 +334,7 @@ grub_menu_init_page (int nested, int edit,
|
|
|
|
geo->border = 0;
|
|
geo->first_entry_x = 0; /* no margin */
|
|
- geo->entry_width = grub_term_width (term) - 1;
|
|
+ geo->entry_width = grub_term_width (term) - 2;
|
|
|
|
geo->first_entry_y = 3; /* three empty lines*/
|
|
|