diff options
author | Sam Bingner <sam@bingner.com> | 2018-12-13 15:11:52 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-12-13 15:11:52 -1000 |
commit | 957aa75d05c00731d7112bed7b68ce4568667d0c (patch) | |
tree | 0445216818495a7864eaa3acde1a1570d34b958d /data/vim/patches/8.1.0308 | |
parent | c54a909c8b5a8519130803cf55f68603c0ad3682 (diff) |
Update vim
Diffstat (limited to 'data/vim/patches/8.1.0308')
-rw-r--r-- | data/vim/patches/8.1.0308 | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/data/vim/patches/8.1.0308 b/data/vim/patches/8.1.0308 new file mode 100644 index 000000000..34230ea65 --- /dev/null +++ b/data/vim/patches/8.1.0308 @@ -0,0 +1,62 @@ +To: vim_dev@googlegroups.com +Subject: Patch 8.1.0308 +Fcc: outbox +From: Bram Moolenaar <Bram@moolenaar.net> +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 8.1.0308 +Problem: A quick undo shows "1 seconds ago". (Tony Mechelynck) +Solution: Add singular/plural message. +Files: src/undo.c + + +*** ../vim-8.1.0307/src/undo.c 2018-07-13 16:31:11.952226727 +0200 +--- src/undo.c 2018-08-21 17:05:23.300046260 +0200 +*************** +*** 3124,3131 **** + } + else + #endif +! vim_snprintf((char *)buf, buflen, _("%ld seconds ago"), +! (long)(vim_time() - tt)); + } + + /* +--- 3124,3136 ---- + } + else + #endif +! { +! long seconds = (long)(vim_time() - tt); +! +! vim_snprintf((char *)buf, buflen, +! NGETTEXT("%ld second ago", "%ld seconds ago", seconds), +! seconds); +! } + } + + /* +*** ../vim-8.1.0307/src/version.c 2018-08-21 16:56:28.371325254 +0200 +--- src/version.c 2018-08-21 17:06:12.627737719 +0200 +*************** +*** 796,797 **** +--- 796,799 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 308, + /**/ + +-- +ARTHUR: I've said I'm sorry about the old woman, but from the behind you + looked ... +DENNIS: What I object to is that you automatically treat me like an inferior... +ARTHUR: Well ... I AM king. + "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD + + /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ an exciting new programming language -- http://www.Zimbu.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |