Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KUnfK-0004Hc-4V for mharc-grub-devel@gnu.org; Sun, 17 Aug 2008 15:11:50 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KUnfI-0004FV-Bm for grub-devel@gnu.org; Sun, 17 Aug 2008 15:11:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KUnfF-0004Cy-Rc for grub-devel@gnu.org; Sun, 17 Aug 2008 15:11:47 -0400 Received: from [199.232.76.173] (port=52583 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KUnfF-0004Cf-GP for grub-devel@gnu.org; Sun, 17 Aug 2008 15:11:45 -0400 Received: from 197.red-80-32-81.staticip.rima-tde.net ([80.32.81.197]:53628 helo=mail.pina.cat) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KUnfE-0000AZ-LN for grub-devel@gnu.org; Sun, 17 Aug 2008 15:11:45 -0400 Received: from pinux (unknown [77.210.154.57]) by mail.pina.cat (Postfix) with ESMTP id 29E352894B24E for ; Sun, 17 Aug 2008 21:11:37 +0200 (CEST) Received: by pinux (Postfix, from userid 1000) id 95422448D; Sun, 17 Aug 2008 21:11:29 +0200 (CEST) Date: Sun, 17 Aug 2008 21:11:29 +0200 From: Carles Pina i Estany To: The development of GRUB 2 Message-ID: <20080817191129.GA4789@pina.cat> References: <20080817130119.GA22343@pina.cat> <877iaf20jx.fsf@xs4all.nl> <20080817142916.GB28198@pina.cat> <20080817153719.GC9696@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080817153719.GC9696@thorin> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: [PATCH] Replace magic numbers by constants 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, 17 Aug 2008 19:11:48 -0000 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 > > > > * 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 * 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