mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 00:08:19 +00:00
Test and refactor gettail_sep -> path_tail_with_seperator.
This commit is contained in:

committed by
Thiago de Arruda

parent
77bfb6cd99
commit
7021b970b9
@@ -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"),
|
||||
|
Reference in New Issue
Block a user