summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/pdftexdir/writet3.c
diff options
context:
space:
mode:
authorHironobu Yamashita <h.y.acetaminophen@gmail.com>2019-01-07 11:59:12 +0000
committerHironobu Yamashita <h.y.acetaminophen@gmail.com>2019-01-07 11:59:12 +0000
commit55126e8a27ec728e1af09422af990c00c8aaa538 (patch)
tree78b912f279141799ce44472b381d24c840562a09 /Build/source/texk/web2c/pdftexdir/writet3.c
parentb50368426d8f8449125a1c2e6e2304a0112b9d08 (diff)
pdftexdir: avoid compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@49629 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/writet3.c')
-rw-r--r--Build/source/texk/web2c/pdftexdir/writet3.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/writet3.c b/Build/source/texk/web2c/pdftexdir/writet3.c
index f72ab32f944..5d5eb47729f 100644
--- a/Build/source/texk/web2c/pdftexdir/writet3.c
+++ b/Build/source/texk/web2c/pdftexdir/writet3.c
@@ -1,5 +1,5 @@
/* writet3.c: write a Type 3 (bitmap PK) font.
-Copyright 1996-2018 Han The Thanh, <thanh@pdftex.org>
+Copyright 1996-2019 Han The Thanh, <thanh@pdftex.org>
This file is part of pdfTeX.
@@ -414,13 +414,14 @@ void writet3(fm_entry * fm, int objnum, internalfontnumber f)
pdfenddict();
pdfbegindict(cptr, 1); /* CharProcs dictionary */
for (i = first_char; i <= last_char; i++)
- if (t3_char_procs[i] != 0)
+ if (t3_char_procs[i] != 0) {
if (glyph_names && glyph_names[i] && glyph_names[i] != notdef)
pdf_printf("/%s %i 0 R\n", glyph_names[i],
(int) t3_char_procs[i]);
else
pdf_printf("/a%i %i 0 R\n", (int) i,
(int) t3_char_procs[i]);
+ }
pdfenddict();
t3_close();
tex_printf(">");