diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-10-27 05:12:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-10-27 05:12:45 +0100 |
commit | 52410575be50d5c40bbe6380159df48cfc382ceb (patch) | |
tree | f8a212edd951fa1df961da74870bc9c172dc0b01 /src/viminfo.c | |
parent | dfded98f87601b11271ee88392c821ceb6390eda (diff) | |
download | vim-git-52410575be50d5c40bbe6380159df48cfc382ceb.tar.gz |
patch 8.1.2225: the "last used" info of a buffer is under usedv8.1.2225
Problem: The "last used" info of a buffer is under used.
Solution: Add "lastused" to getbufinfo(). List buffers sorted by last-used
field. (Andi Massimino, closes #4722)
Diffstat (limited to 'src/viminfo.c')
-rw-r--r-- | src/viminfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viminfo.c b/src/viminfo.c index b16282856..a49bb01da 100644 --- a/src/viminfo.c +++ b/src/viminfo.c @@ -2152,7 +2152,7 @@ write_viminfo_filemarks(FILE *fp) /* * Compare functions for qsort() below, that compares b_last_used. */ - static int + int buf_compare(const void *s1, const void *s2) { buf_T *buf1 = *(buf_T **)s1; |