summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/pdftexdir/ttf2afm.c
diff options
context:
space:
mode:
authorMartin Schröder <martin@oneiros.de>2007-01-01 17:20:03 +0000
committerMartin Schröder <martin@oneiros.de>2007-01-01 17:20:03 +0000
commit508fb2acb6235eb461f0f5614e5466b843c33263 (patch)
tree4b43cc875bb66d8d6895a44945d252bde6d0be84 /Build/source/texk/web2c/pdftexdir/ttf2afm.c
parentc3ef295937d604389c1ce7f325138611b2c7e653 (diff)
pdftex 1.40.0
git-svn-id: svn://tug.org/texlive/trunk@3089 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/ttf2afm.c')
-rw-r--r--Build/source/texk/web2c/pdftexdir/ttf2afm.c2
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 =