aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-12-09 21:23:03 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2021-12-09 23:17:29 +0100
commitd9c1669a5474ee0d09dbe60372a2959207187290 (patch)
tree2f2b3cf29f58c25bfe8e523cac394f8f225bbf52 /src/nvim/buffer.c
parent51822f065590154561a59435ca920207fd39bdda (diff)
downloadrneovim-d9c1669a5474ee0d09dbe60372a2959207187290.tar.gz
rneovim-d9c1669a5474ee0d09dbe60372a2959207187290.tar.bz2
rneovim-d9c1669a5474ee0d09dbe60372a2959207187290.zip
refactor(misc1): move out misc functions which obviously belong elsewhere
Also make some function names more descriptive/regular.
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index f2f4950e58..297d9743df 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -2719,7 +2719,7 @@ void buflist_list(exarg_T *eap)
IObuff[len++] = ' ';
} while (--i > 0 && len < IOSIZE - 18);
if (vim_strchr(eap->arg, 't') && buf->b_last_used) {
- add_time(IObuff + len, (size_t)(IOSIZE - len), buf->b_last_used);
+ undo_fmt_time(IObuff + len, (size_t)(IOSIZE - len), buf->b_last_used);
} else {
vim_snprintf((char *)IObuff + len, (size_t)(IOSIZE - len),
_("line %" PRId64),