summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/tex-glyph.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-22 07:26:00 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-22 07:26:00 +0000
commit330e84f85f4c230b385fdf2335888cbccb1eee26 (patch)
tree4b9bc6340864bd424202e872a3b84d1712ad9c2f /Build/source/texk/kpathsea/tex-glyph.c
parent63a8ebc9eb71c28299f568dc55f55c92ea09cd93 (diff)
enable compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@13875 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/tex-glyph.c')
-rw-r--r--Build/source/texk/kpathsea/tex-glyph.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/Build/source/texk/kpathsea/tex-glyph.c b/Build/source/texk/kpathsea/tex-glyph.c
index 270d960fa70..728f95ea134 100644
--- a/Build/source/texk/kpathsea/tex-glyph.c
+++ b/Build/source/texk/kpathsea/tex-glyph.c
@@ -95,16 +95,12 @@ try_size (kpathsea kpse, const_string fontname, unsigned dpi,
/* Look for PK first (since it's more likely to be found), then GF. */
ret = try_pk ? try_format (kpse, fontname, dpi, kpse_pk_format) : NULL;
+ format_found = kpse_pk_format;
- if (ret != NULL)
- format_found = kpse_pk_format;
- else
+ if (ret == NULL && try_gf)
{
- if (try_gf)
- {
- ret = try_format (kpse, fontname, dpi, kpse_gf_format);
- format_found = kpse_gf_format;
- }
+ ret = try_format (kpse, fontname, dpi, kpse_gf_format);
+ format_found = kpse_gf_format;
}
if (ret != NULL && glyph_file)