grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Replace magic numbers by constants


From: Carles Pina i Estany
Subject: Re: [PATCH] Replace magic numbers by constants
Date: Sun, 17 Aug 2008 21:11:29 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello,

On Aug/17/2008, Robert Millan wrote:
> On Sun, Aug 17, 2008 at 04:29:16PM +0200, Carles Pina i Estany wrote:
> > 2008-08-17  Carles Pina i Estany  <address@hidden>
> > 
> >         * menu/normal.c (run_menu): Change magic numbers by constants
> >     (16 by GRUB_TERM_UP and 14 by GRUB_TERM_DOWN)
> 
> When reading the subject I thought it was the other way around.  Would
> something like:
> 
>   "replace hardcoded numbers with macros"
> 
> or
> 
>   "macroify numbers"

Ok:

--------
2008-08-17  Carles Pina i Estany  <address@hidden>

        * menu/normal.c (run_menu): Replace hardcoded numbers with macros
        (16 for GRUB_TERM_UP and 14 for GRUB_TERM_DOWN)
--------

> etc, make it more clear?

An English note: In my previous mail I've confused "change ... by" 
with "change ... for" :-)

Thanks,

-- 
Carles Pina i Estany            GPG id: 0x17756391
        http://pinux.info




reply via email to

[Prev in Thread] Current Thread [Next in Thread]