From 356d96187cf2fb84478c05c13a6aefe967ffc2c0 Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 26 May 2005 00:32:12 +0000 Subject: [PATCH] (print_gsub_gpos_info): Don't print superfluous space. (main): Delete unused variables. --- example/otflist.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/example/otflist.c b/example/otflist.c index bcd0e5c..d2e252e 100644 --- a/example/otflist.c +++ b/example/otflist.c @@ -83,7 +83,7 @@ print_gsub_gpos_info (OTF *otf, char *table) printf (", "); print_tag (script->LangSysRecord[j].LangSysTag); } - printf (" )"); + printf (")"); } } printf ("\n"); @@ -181,8 +181,7 @@ main (int argc, char **argv) FT_Face face; char *filename; int long_format = 0; - int n; - int i, j; + int i; if (FT_Init_FreeType (&ft_library)) FATAL_ERROR ("%s\n", "!! Freetype initialization failed."); @@ -226,9 +225,9 @@ main (int argc, char **argv) + 4); sprintf (name, "%s (%s)", filename, family); printf ("%-40s %s", name, style); - for (j = 0; j < face->num_charmaps; j++) - printf (" %d-%d", face->charmaps[j]->platform_id, - face->charmaps[j]->encoding_id); + for (i = 0; i < face->num_charmaps; i++) + printf (" %d-%d", face->charmaps[i]->platform_id, + face->charmaps[i]->encoding_id); printf ("\n"); if (otf && long_format) { -- 1.7.10.4