From: handa Date: Thu, 26 May 2005 00:32:12 +0000 (+0000) Subject: (print_gsub_gpos_info): Don't print X-Git-Tag: REL-0-9-5~64 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=356d96187cf2fb84478c05c13a6aefe967ffc2c0;p=m17n%2Flibotf.git (print_gsub_gpos_info): Don't print superfluous space. (main): Delete unused variables. --- 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) {