From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1DpBWf-0004q1-Sw for mharc-grub-devel@gnu.org; Sun, 03 Jul 2005 16:57:17 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DpBWe-0004pI-57 for grub-devel@gnu.org; Sun, 03 Jul 2005 16:57:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DpBWd-0004op-1d for Grub-devel@gnu.org; Sun, 03 Jul 2005 16:57:15 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpBUt-0003kW-Qj for Grub-devel@gnu.org; Sun, 03 Jul 2005 16:55:28 -0400 Received: from [217.12.11.34] (helo=smtp003.mail.ukl.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1DpBQ4-0000PF-Al for Grub-devel@gnu.org; Sun, 03 Jul 2005 16:50:28 -0400 Received: (qmail 83172 invoked from network); 3 Jul 2005 20:44:38 -0000 Received: from unknown (HELO ?192.168.0.2?) (subdino2004@83.203.163.78 with plain) by smtp003.mail.ukl.yahoo.com with SMTP; 3 Jul 2005 20:44:38 -0000 Message-ID: <42C84FF8.8020102@yahoo.fr> Date: Sun, 03 Jul 2005 22:52:08 +0200 From: Vincent Pelletier User-Agent: Debian Thunderbird 1.0.2 (X11/20050602) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Grub-devel@gnu.org X-Enigmail-Version: 0.91.0.0 Content-Type: multipart/mixed; boundary="------------020900020607080608040702" Cc: Subject: [PATCH] Small unicode problem fix in normal/menu.c X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2005 20:57:16 -0000 This is a multi-part message in MIME format. --------------020900020607080608040702 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 There is an alignment problem when menu is drawn with Unicode chars in titles : there aren't enough spaces written on the right to make the hilight fill horizontaly the menu. 2005-07-03 Vincent Pelletier * normal/menu.c (grub_print_entry): Rely on getxy to get horizontal position. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCyE/4FEQoKRQyjtURAmzYAJwN8/LK9MSCRTnD7lzPvLEsK560BQCfQSHk FFMUG+Zshn0JM1mxxbZMk+o= =yUWs -----END PGP SIGNATURE----- --------------020900020607080608040702 Content-Type: text/plain; name="menu_unicode.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="menu_unicode.diff" Index: normal/menu.c =================================================================== RCS file: /cvsroot/grub/grub2/normal/menu.c,v retrieving revision 1.11 diff -u -p -r1.11 menu.c --- normal/menu.c 27 Feb 2005 21:19:05 -0000 1.11 +++ normal/menu.c 3 Jul 2005 20:34:45 -0000 @@ -108,7 +108,7 @@ print_entry (int y, int highlight, grub_ for (x = GRUB_TERM_LEFT_BORDER_X + GRUB_TERM_MARGIN + 1; x < GRUB_TERM_LEFT_BORDER_X + GRUB_TERM_BORDER_WIDTH - GRUB_TERM_MARGIN; - x++) + x=grub_getxy()>>8) { if (*title && x <= GRUB_TERM_LEFT_BORDER_X + GRUB_TERM_BORDER_WIDTH - GRUB_TERM_MARGIN - 1) { --------------020900020607080608040702-- ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com