diff options
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/ttf2afm.c')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ttf2afm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ttf2afm.c b/Build/source/texk/web2c/pdftexdir/ttf2afm.c index 9d5598576f4..ce7af81553a 100644 --- a/Build/source/texk/web2c/pdftexdir/ttf2afm.c +++ b/Build/source/texk/web2c/pdftexdir/ttf2afm.c @@ -1029,7 +1029,7 @@ int main(int argc, char **argv) cur_file_name = argv[optind]; if (print_cmap) { bname = xstrdup(xbasename(cur_file_name)); - if ((s = rindex(bname, '.')) != NULL) + if ((s = strrchr(bname, '.')) != NULL) *s = 0; } if ((fontfile = |