diff options
Diffstat (limited to 'tests/make_png/make_png.c')
-rw-r--r-- | tests/make_png/make_png.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/make_png/make_png.c b/tests/make_png/make_png.c index ad579356a..169845477 100644 --- a/tests/make_png/make_png.c +++ b/tests/make_png/make_png.c @@ -126,7 +126,7 @@ int main (int argc, char const *argv[]) size, render_type); - for (i = 0; i <50; ++i) + for (i = 0; i <face->num_glyphs; ++i) { error = FT_Load_Glyph( face, i, @@ -145,7 +145,7 @@ int main (int argc, char const *argv[]) if (bitmap->width == 0 || bitmap->rows == 0) { - continue; + continue; } FT_Bitmap target; |