All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] spaces (label, UUID)
@ 2009-12-28  1:17 Carles Pina i Estany
  2009-12-28 18:18 ` Carles Pina i Estany
  2010-01-01 12:22 ` Robert Millan
  0 siblings, 2 replies; 7+ messages in thread
From: Carles Pina i Estany @ 2009-12-28  1:17 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 215 bytes --]


Hi,

This patch should fix a small problem that Vladimir spotted and
commented on IRC, plus adds a quotes on the label (looks nicer) and
clearer in my opinion.

Cheers,

-- 
Carles Pina i Estany
	http://pinux.info

[-- Attachment #2: spaces.patch --]
[-- Type: text/x-diff, Size: 1192 bytes --]

=== modified file 'ChangeLog'
--- ChangeLog	2009-12-27 21:32:52 +0000
+++ ChangeLog	2009-12-28 01:16:20 +0000
@@ -1,3 +1,8 @@
+2009-12-28  Carles Pina i Estany  <carles@pina.cat>
+
+	* normal/misc.c (grub_normal_print_device_info): Add spaces and double
+	quotes.
+
 2009-12-27  Vladimir Serbinenko  <phcoder@gmail.com>
 
 	* normal/menu_text.c (grub_print_message_indented): Prevent

=== modified file 'normal/misc.c'
--- normal/misc.c	2009-12-20 23:32:15 +0000
+++ normal/misc.c	2009-12-28 01:15:34 +0000
@@ -68,7 +68,10 @@ grub_normal_print_device_info (const cha
 	      if (grub_errno == GRUB_ERR_NONE)
 		{
 		  if (label && grub_strlen (label))
-		    grub_printf_ (N_("- Label %s"), label);
+		    {
+		      grub_putchar (' ');
+		      grub_printf_ (N_("- Label \"%s\""), label);
+		    }
 		  grub_free (label);
 		}
 	      grub_errno = GRUB_ERR_NONE;
@@ -81,6 +84,7 @@ grub_normal_print_device_info (const cha
 	      if (grub_errno == GRUB_ERR_NONE)
 		{
 		  grub_unixtime2datetime (tm, &datetime);
+		  grub_putchar (' ');
 		  grub_printf_ (N_("- Last modification time %d-%02d-%02d "
 			       "%02d:%02d:%02d %s"),
 			       datetime.year, datetime.month, datetime.day,


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-01-02 10:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-28  1:17 [PATCH] spaces (label, UUID) Carles Pina i Estany
2009-12-28 18:18 ` Carles Pina i Estany
2010-01-01 12:22 ` Robert Millan
2010-01-01 13:10   ` Carles Pina i Estany
2010-01-01 15:52     ` Robert Millan
2010-01-02  2:04     ` Isaac Dupree
2010-01-02 10:16       ` Carles Pina i Estany

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.