diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2010-05-15 01:55:00 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2010-05-15 01:55:00 +0000 |
commit | ff95b300f8204c215384425032124f206349bca2 (patch) | |
tree | abdb4fced025cb35b974f9f0ba0c7d6c9fd01094 /Build/source/texk/kpathsea/find-suffix.c | |
parent | 64252d2baf23bb55ca90c388215779740c73e695 (diff) |
remove trailing spaces.
git-svn-id: svn://tug.org/texlive/trunk@18276 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/find-suffix.c')
-rw-r--r-- | Build/source/texk/kpathsea/find-suffix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/kpathsea/find-suffix.c b/Build/source/texk/kpathsea/find-suffix.c index 499f8189feb..6fbb1f28c6b 100644 --- a/Build/source/texk/kpathsea/find-suffix.c +++ b/Build/source/texk/kpathsea/find-suffix.c @@ -28,15 +28,15 @@ find_suffix (const_string name) { const_string slash_pos; string dot_pos = strrchr (name, '.'); - + if (dot_pos == NULL) return NULL; - + for (slash_pos = name + strlen (name); slash_pos > dot_pos && !IS_DIR_SEP (*slash_pos); slash_pos--) ; - + return slash_pos > dot_pos ? NULL : dot_pos + 1; } |