* util/grub-mkfont.c: Prefer enum to #define.
This commit is contained in:
parent
de73de1748
commit
132867de71
2 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-04-05 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/grub-mkfont.c: Prefer enum to #define.
|
||||
|
||||
2013-04-05 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/commands/acpi.c: Use sizeof rather than hardcoding the size.
|
||||
|
|
|
@ -73,10 +73,13 @@ enum file_formats
|
|||
WIDTH_SPEC
|
||||
};
|
||||
|
||||
#define GRUB_FONT_FLAG_BOLD 1
|
||||
#define GRUB_FONT_FLAG_NOBITMAP 2
|
||||
#define GRUB_FONT_FLAG_NOHINTING 4
|
||||
#define GRUB_FONT_FLAG_FORCEHINT 8
|
||||
enum
|
||||
{
|
||||
GRUB_FONT_FLAG_BOLD = 1,
|
||||
GRUB_FONT_FLAG_NOBITMAP = 2,
|
||||
GRUB_FONT_FLAG_NOHINTING = 4,
|
||||
GRUB_FONT_FLAG_FORCEHINT = 8
|
||||
};
|
||||
|
||||
struct grub_font_info
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue