aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-12-10 10:56:17 +0100
committerGitHub <noreply@github.com>2021-12-10 10:56:17 +0100
commit26eb6051528186270b924c7c806a3f434c233530 (patch)
tree7229d143d9ce52354cd35d105054bf47d206a5bc /src/nvim/buffer.c
parentac2d140a33dfe88f882218e15a443b8300cca6b2 (diff)
parenta59589ca018425f672eb70bf7d2b54d24df49326 (diff)
downloadrneovim-26eb6051528186270b924c7c806a3f434c233530.tar.gz
rneovim-26eb6051528186270b924c7c806a3f434c233530.tar.bz2
rneovim-26eb6051528186270b924c7c806a3f434c233530.zip
Merge pull request #16597 from bfredl/nomisc1
refactor: move out some long-hanging fruit from misc1.c
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),