summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-04-08 19:58:44 +0200
committerTor Andersson <tor@ghostscript.com>2010-04-08 19:58:44 +0200
commit4f59303afae46e3380124c3b040020bf6b86ad93 (patch)
tree05986222a63d6f282c2970f44058b32b43b9dc0d
parent28bb08951bea16b4baf3b05365d606fde0a099b6 (diff)
downloadmupdf-4f59303afae46e3380124c3b040020bf6b86ad93.tar.xz
Print fewer spaces in cmapdump.
-rw-r--r--mupdf/cmapdump.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mupdf/cmapdump.c b/mupdf/cmapdump.c
index fccbf93e..b0a6e01c 100644
--- a/mupdf/cmapdump.c
+++ b/mupdf/cmapdump.c
@@ -24,9 +24,9 @@ flagtoname(int flag)
switch (flag)
{
case PDF_CMAP_SINGLE: return "PDF_CMAP_SINGLE,";
- case PDF_CMAP_RANGE: return "PDF_CMAP_RANGE, ";
- case PDF_CMAP_TABLE: return "PDF_CMAP_TABLE, ";
- case PDF_CMAP_MULTI: return "PDF_CMAP_MULTI, ";
+ case PDF_CMAP_RANGE: return "PDF_CMAP_RANGE,";
+ case PDF_CMAP_TABLE: return "PDF_CMAP_TABLE,";
+ case PDF_CMAP_MULTI: return "PDF_CMAP_MULTI,";
}
return "-1,";
}
@@ -132,7 +132,7 @@ main(int argc, char **argv)
{
if (k % 8 == 0)
fprintf(fo, "\n ");
- fprintf(fo, "%d, ", cmap->table[k]);
+ fprintf(fo, "%d,", cmap->table[k]);
}
fprintf(fo, "\n};\n\n");
}