From: Vincent Pelletier <subdino2004@yahoo.fr>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [Bulk] [PATCH] Small unicode problem fix in normal/menu.c
Date: Tue, 05 Jul 2005 09:03:50 +0200 [thread overview]
Message-ID: <42CA30D6.6010707@yahoo.fr> (raw)
In-Reply-To: <200507050110.43155.okuji@enbug.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Yoshinori K. Okuji wrote:
> My feeling is that it is not convenient to use pointers.
Right.
My first idea was to use a struct as return type :
struct coords {
unsigned char x;
unsigned char y;
};
So it becomes :
if (grub_getxy () .x)
Or maybe a struct of bitfields...
I feel structs as being cleaner to use compared to shifts. If someday
we have a terminal that exceeds 255 chars in one or both dimensions, we
wouldn't have to grep "grub_getxy ()" to find the shifts...
Vincent Pelletier
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCyjDWFEQoKRQyjtURAg5+AKCv+0nJXOMzaiiQ/+ePXVAOhuvvlgCeN88f
40Oy4FUN5ihK0USgAUl7ypE=
=M1Xj
-----END PGP SIGNATURE-----
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
next prev parent reply other threads:[~2005-07-05 7:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-03 20:52 [PATCH] Small unicode problem fix in normal/menu.c Vincent Pelletier
2005-07-04 14:45 ` [Bulk] " Vincent Pelletier
2005-07-04 23:10 ` Yoshinori K. Okuji
2005-07-05 7:03 ` Vincent Pelletier [this message]
2005-07-05 10:07 ` Marco Gerards
2005-07-04 22:42 ` Yoshinori K. Okuji
2005-07-05 20:36 ` Vincent Pelletier
2005-07-09 7:01 ` Yoshinori K. Okuji
2005-07-05 9:58 ` Marco Gerards
2005-07-05 10:46 ` Marco Gerards
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42CA30D6.6010707@yahoo.fr \
--to=subdino2004@yahoo.fr \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.