grub-devel
[Top][All Lists]
Advanced

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

[PATCH] Replace magic numbers by constants


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

Hello,

When I did the Home/End keys patch I noticied that in normal/menu.c
there was some magic numbers (and some constants was already defined, in
include/grub/term.h (actually, reading the ChangeLog was committed by
Robert Millan on 2008-02-05)

I'm sending a patch to change the magic numbers by constants.

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

        * menu/normal.c (run_menu): Change magic numbers by constants.
--------

Thanks,

PS: thanks Felix for committing the previous patch

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

Attachment: key_contants.patch
Description: Text Data


reply via email to

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