diff options
author | Thomas Wienecke <wienecke.t@gmail.com> | 2014-04-01 17:44:20 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-03 10:32:41 -0300 |
commit | 865e3280a8020d005ba462650f6479af815684a3 (patch) | |
tree | c23e5627750b688b7a67821fdbcf6924a39f9dcb /src/path.h | |
parent | 955d6a29496d9f7902e95f4a2cc01fedd56e4a21 (diff) | |
download | rneovim-865e3280a8020d005ba462650f6479af815684a3.tar.gz rneovim-865e3280a8020d005ba462650f6479af815684a3.tar.bz2 rneovim-865e3280a8020d005ba462650f6479af815684a3.zip |
Fix seperator->separator, path_tail_with_separator->path_tail_with_sep.
Diffstat (limited to 'src/path.h')
-rw-r--r-- | src/path.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/path.h b/src/path.h index a558fc72b3..1455861544 100644 --- a/src/path.h +++ b/src/path.h @@ -24,27 +24,27 @@ FileComparison path_full_compare(char_u *s1, char_u *s2, int checkname); /// @param fname A file path. /// @return /// - Empty string, if fname is NULL. -/// - The position of the last path seperator + 1. (i.e. empty string, if +/// - The position of the last path separator + 1. (i.e. empty string, if /// fname ends in a slash). /// - Never NULL. char_u *path_tail(char_u *fname); /// Get pointer to tail of "fname", including path separators. /// -/// Takes care of "c:/" and "//". That means `path_tail_with_seperator("dir///file.txt")` +/// Takes care of "c:/" and "//". That means `path_tail_with_sep("dir///file.txt")` /// will return a pointer to `"///file.txt"`. /// @param fname A file path. (Must be != NULL.) /// @return -/// - Pointer to the last path seperator of `fname`, if there is any. -/// - `fname` if it contains no path seperator. +/// - Pointer to the last path separator of `fname`, if there is any. +/// - `fname` if it contains no path separator. /// - Never NULL. -char_u *path_tail_with_seperator(char_u *fname); +char_u *path_tail_with_sep(char_u *fname); /// Get the next path component of a path name. /// /// @param fname A file path. (Must be != NULL.) -/// @return Pointer to first found path seperator + 1. -/// An empty string, if `fname` doesn't contain a path seperator, +/// @return Pointer to first found path separator + 1. +/// An empty string, if `fname` doesn't contain a path separator, char_u *path_next_component(char_u *fname); int vim_ispathsep(int c); |