-----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  <[EMAIL PROTECTED]>

    * 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-----
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)
        {
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to