diff --git a/ChangeLog b/ChangeLog index 8cc8093e3..b1ed40322 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-08-21 Vladimir Serbinenko + + * Makefile.am (widthspec.h): Fix typo. + * util/grub-gen-widthspec.c: Likewise. + 2013-08-21 Vladimir Serbinenko Move ascii.h and widthspec.h generation to a separate build-time-only diff --git a/Makefile.am b/Makefile.am index 7343182cd..8ed2937f2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -114,7 +114,7 @@ ascii.h: $(FONT_SOURCE) build-grub-gen-asciih ./build-grub-gen-asciih $(FONT_SOURCE) $@ CLEANFILES += ascii.h -widthspec.h: $(FONT_SOURCE) build-grub-gen-asciih +widthspec.h: $(FONT_SOURCE) build-grub-gen-widthspec ./build-grub-gen-widthspec $(FONT_SOURCE) $@ CLEANFILES += widthspec.h diff --git a/util/grub-gen-widthspec.c b/util/grub-gen-widthspec.c index ffd4f9866..9bab8c49c 100644 --- a/util/grub-gen-widthspec.c +++ b/util/grub-gen-widthspec.c @@ -120,10 +120,10 @@ main (int argc, char *argv[]) return 1; } - for (char_code = FT_Get_First_Char (face, &glyph_index); + for (char_code = FT_Get_First_Char (ft_face, &glyph_index); glyph_index; - char_code = FT_Get_Next_Char (face, char_code, &glyph_index)) - add_glyph (face, char_code); + char_code = FT_Get_Next_Char (ft_face, char_code, &glyph_index)) + add_glyph (ft_face, char_code); FT_Done_Face (ft_face); }