aboutsummaryrefslogtreecommitdiff
path: root/src/misc2.c
diff options
context:
space:
mode:
authorJohn Schmidt <john.schmidt.h@gmail.com>2014-03-31 00:39:11 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-01 08:08:07 -0300
commite29e9563480946e13252f5aea6a9d137c9483a61 (patch)
treeb07357c0b6cbbc83e0ef3f9d4b7019b8ffa61dec /src/misc2.c
parent2cb026c65c489743b3c5a4955dc9f276a18bd530 (diff)
downloadrneovim-e29e9563480946e13252f5aea6a9d137c9483a61.tar.gz
rneovim-e29e9563480946e13252f5aea6a9d137c9483a61.tar.bz2
rneovim-e29e9563480946e13252f5aea6a9d137c9483a61.zip
Move after_pathsep from misc2.c
Diffstat (limited to 'src/misc2.c')
-rw-r--r--src/misc2.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/misc2.c b/src/misc2.c
index 646e6e7b48..2ca42fee03 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -1614,17 +1614,6 @@ int get_real_state(void)
}
/*
- * Return TRUE if "p" points to just after a path separator.
- * Takes care of multi-byte characters.
- * "b" must point to the start of the file name
- */
-int after_pathsep(char_u *b, char_u *p)
-{
- return p > b && vim_ispathsep(p[-1])
- && (!has_mbyte || (*mb_head_off)(b, p - 1) == 0);
-}
-
-/*
* Return TRUE if file names "f1" and "f2" are in the same directory.
* "f1" may be a short name, "f2" must be a full path.
*/