aboutsummaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorThomas Wienecke <wienecke.t@gmail.com>2014-03-30 15:30:10 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-03 10:32:41 -0300
commit7021b970b9e8b3f9b9fe71546bfb3aa30851abd2 (patch)
tree6d7d79452963fec9b10dbaa24778175ea1829268 /src/buffer.c
parent77bfb6cd990c67e4191d4858af82de42303e1939 (diff)
downloadrneovim-7021b970b9e8b3f9b9fe71546bfb3aa30851abd2.tar.gz
rneovim-7021b970b9e8b3f9b9fe71546bfb3aa30851abd2.tar.bz2
rneovim-7021b970b9e8b3f9b9fe71546bfb3aa30851abd2.zip
Test and refactor gettail_sep -> path_tail_with_seperator.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index e084e2e4e4..b417681987 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -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"),