Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NP4F3-0001jm-21 for mharc-grub-devel@gnu.org; Sun, 27 Dec 2009 20:17:49 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NP4Ez-0001ii-B0 for grub-devel@gnu.org; Sun, 27 Dec 2009 20:17:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NP4Et-0001i8-SJ for grub-devel@gnu.org; Sun, 27 Dec 2009 20:17:44 -0500 Received: from [199.232.76.173] (port=37707 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NP4Et-0001i5-Ln for grub-devel@gnu.org; Sun, 27 Dec 2009 20:17:39 -0500 Received: from 197.red-80-32-81.staticip.rima-tde.net ([80.32.81.197]:33005 helo=mail.pina.cat) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NP4Et-0004hS-LR for grub-devel@gnu.org; Sun, 27 Dec 2009 20:17:40 -0500 Received: from pinux (unknown [192.168.0.78]) by mail.pina.cat (Postfix) with ESMTPA id CA05D2894B244 for ; Mon, 28 Dec 2009 02:17:37 +0100 (CET) Received: by pinux (Postfix, from userid 1000) id 9668110A13; Mon, 28 Dec 2009 02:17:37 +0100 (CET) Date: Mon, 28 Dec 2009 02:17:37 +0100 From: Carles Pina i Estany To: grub-devel@gnu.org Message-ID: <20091228011737.GA17321@pina.cat> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: [PATCH] spaces (label, UUID) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2009 01:17:46 -0000 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --BOKacYhQ+x31HxR3 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="spaces.patch" === 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 + + * normal/misc.c (grub_normal_print_device_info): Add spaces and double + quotes. + 2009-12-27 Vladimir Serbinenko * 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, --BOKacYhQ+x31HxR3--