diff options
Diffstat (limited to 'Build/source/texk/kpathsea/kpsewhich.c')
-rw-r--r-- | Build/source/texk/kpathsea/kpsewhich.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/kpsewhich.c b/Build/source/texk/kpathsea/kpsewhich.c index 91531189c94..51e032b6f50 100644 --- a/Build/source/texk/kpathsea/kpsewhich.c +++ b/Build/source/texk/kpathsea/kpsewhich.c @@ -112,6 +112,8 @@ find_format P2C(string, name, boolean, is_filename) ret = kpse_fontmap_format; } else if (FILESTRCASEEQ (name, "pdftex.cfg")) { ret = kpse_pdftex_config_format; + } else if (FILESTRCASEEQ (name, "texmf.cnf")) { + ret = kpse_cnf_format; } else if (FILESTRCASEEQ (name, "updmap.cfg")) { ret = kpse_web2c_format; } else { @@ -133,7 +135,7 @@ find_format P2C(string, name, boolean, is_filename) boolean found = false; if (!kpse_format_info[f].type) - kpse_init_format ((kpse_file_format_type)f); + kpse_init_format ((kpse_file_format_type) f); if (!is_filename) { /* Allow the long name, but only in the -format option. We don't @@ -492,7 +494,7 @@ main P2C(int, argc, string *, argv) kpse_set_program_name (argv[0], progname); if (engine) - xputenv("engine", engine); + xputenv ("engine", engine); /* NULL for no fallback font. */ kpse_init_prog (uppercasify (kpse_program_name), dpi, mode, NULL); |