diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-05-10 09:48:04 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-05-10 09:48:04 +0000 |
commit | a849488fd6c6ab60c6b927fd43e04691a2634f00 (patch) | |
tree | 8c018110479a4c3016bc7217564d320890dd4e95 /Build/source/texk/kpathsea/tex-glyph.c | |
parent | e59c06f29ee429a76948d050f6c56081e031c755 (diff) |
kpathsea: more const
git-svn-id: svn://tug.org/texlive/trunk@18187 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/tex-glyph.c')
-rw-r--r-- | Build/source/texk/kpathsea/tex-glyph.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/kpathsea/tex-glyph.c b/Build/source/texk/kpathsea/tex-glyph.c index c9f480c73c5..8c97ccc44f6 100644 --- a/Build/source/texk/kpathsea/tex-glyph.c +++ b/Build/source/texk/kpathsea/tex-glyph.c @@ -152,14 +152,14 @@ try_fontmap (kpathsea kpse, string *fontname_ptr, unsigned dpi, kpse_file_format_type format, kpse_glyph_file_type *glyph_file) { - string *mapped_names; + const_string *mapped_names; string fontname = *fontname_ptr; string ret = NULL; mapped_names = kpathsea_fontmap_lookup (kpse, fontname); if (mapped_names) { - string mapped_name; - string first_name = *mapped_names; + const_string mapped_name; + const_string first_name = *mapped_names; while (!ret && (mapped_name = *mapped_names++)) { kpathsea_xputenv (kpse, "KPATHSEA_NAME", mapped_name); ret = try_resolution (kpse, mapped_name, dpi, format, glyph_file); |