summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/pdftexdir
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2023-02-12 23:17:42 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2023-02-12 23:17:42 +0000
commit3e98a60f2cc11e39f6aabb11285f33ca100b96e0 (patch)
treebe54592c113e7a12eaec0a908f564884a4f8e923 /Build/source/texk/web2c/pdftexdir
parent3d88c5865c10e8b7d5aa712546c80b93116c332e (diff)
mapfile.c : support old compilers
git-svn-id: svn://tug.org/texlive/trunk@65807 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir')
-rw-r--r--Build/source/texk/web2c/pdftexdir/mapfile.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/mapfile.c b/Build/source/texk/web2c/pdftexdir/mapfile.c
index f97cb57ef76..e169e4af1c4 100644
--- a/Build/source/texk/web2c/pdftexdir/mapfile.c
+++ b/Build/source/texk/web2c/pdftexdir/mapfile.c
@@ -661,11 +661,12 @@ boolean isscalable(internalfontnumber f)
boolean hasspacechar(internalfontnumber f)
{
+ fm_entry *fm;
+ fe_entry *fe;
if (!isscalable(f))
return false;
- fm_entry *fm = (fm_entry *)pdffontmap[f];
- fe_entry *fe;
+ fm = (fm_entry *)pdffontmap[f];
/* if a font is not re-encoded via its map entry, we assume it has no space char */
if (is_reencoded(fm) && (fe = get_fe_entry(fm->encname)) != NULL) {