* Makefile.am (widthspec.h): Fix typo.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 21 Aug 2013 18:26:26 +0000 (20:26 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 21 Aug 2013 18:26:26 +0000 (20:26 +0200)
* util/grub-gen-widthspec.c: Likewise.

ChangeLog
Makefile.am
util/grub-gen-widthspec.c

index 8cc8093..b1ed403 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-08-21  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * Makefile.am (widthspec.h): Fix typo.
+       * util/grub-gen-widthspec.c: Likewise.
+
 2013-08-21  Vladimir Serbinenko  <phcoder@gmail.com>
 
        Move ascii.h and widthspec.h generation to a separate build-time-only
index 7343182..8ed2937 100644 (file)
@@ -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
 
index ffd4f98..9bab8c4 100644 (file)
@@ -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);
   }