diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-12-31 04:03:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-31 04:03:11 +0100 |
commit | e922576bdd6abd6736417343121120b289079565 (patch) | |
tree | cdefff491e487c8aa6d6f1c281eca5f921a30aea /src/nvim/ops.c | |
parent | 22a92a59a68e2b0928a6243c0888b56608a8f8d8 (diff) | |
parent | 4bd51d8988b0af76a8c9e8cb38c537fc53346c20 (diff) | |
download | rneovim-e922576bdd6abd6736417343121120b289079565.tar.gz rneovim-e922576bdd6abd6736417343121120b289079565.tar.bz2 rneovim-e922576bdd6abd6736417343121120b289079565.zip |
Merge #11637 from janlazo/vim-8.1.1739
vim-patch:8.1.{1739,1741},8.2.0063
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index b597c5b214..6a621cdaa6 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -5654,7 +5654,8 @@ void cursor_pos_info(dict_T *dict) bom_count = bomb_size(); if (dict == NULL && bom_count > 0) { - vim_snprintf((char *)IObuff + STRLEN(IObuff), IOSIZE - STRLEN(IObuff), + const size_t len = STRLEN(IObuff); + vim_snprintf((char *)IObuff + len, IOSIZE - len, _("(+%" PRId64 " for BOM)"), (int64_t)bom_count); } if (dict == NULL) { |