* 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>
|
2013-04-05 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/commands/acpi.c: Use sizeof rather than hardcoding the size.
|
* grub-core/commands/acpi.c: Use sizeof rather than hardcoding the size.
|
||||||
|
|
|
@ -73,10 +73,13 @@ enum file_formats
|
||||||
WIDTH_SPEC
|
WIDTH_SPEC
|
||||||
};
|
};
|
||||||
|
|
||||||
#define GRUB_FONT_FLAG_BOLD 1
|
enum
|
||||||
#define GRUB_FONT_FLAG_NOBITMAP 2
|
{
|
||||||
#define GRUB_FONT_FLAG_NOHINTING 4
|
GRUB_FONT_FLAG_BOLD = 1,
|
||||||
#define GRUB_FONT_FLAG_FORCEHINT 8
|
GRUB_FONT_FLAG_NOBITMAP = 2,
|
||||||
|
GRUB_FONT_FLAG_NOHINTING = 4,
|
||||||
|
GRUB_FONT_FLAG_FORCEHINT = 8
|
||||||
|
};
|
||||||
|
|
||||||
struct grub_font_info
|
struct grub_font_info
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue