Test and refactor gettail_sep -> path_tail_with_seperator.

This commit is contained in:
Thomas Wienecke
2014-03-30 15:30:10 +02:00
committed by Thiago de Arruda
parent 77bfb6cd99
commit 7021b970b9
7 changed files with 55 additions and 24 deletions

View File

@@ -2713,7 +2713,7 @@ void maketitle(void)
off += 2;
#endif
/* remove the file name */
p = gettail_sep(buf + off);
p = path_tail_with_seperator(buf + off);
if (p == buf + off)
/* must be a help buffer */
vim_strncpy(buf + off, (char_u *)_("help"),