diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/nvim/ops.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 407c8d56ab..adfd0424f0 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -5374,7 +5374,7 @@ void cursor_pos_info(dict_T *dict)      bom_count = bomb_size();      if (bom_count > 0) { -      vim_snprintf((char *)IObuff + STRLEN(IObuff), IOSIZE, +      vim_snprintf((char *)IObuff + STRLEN(IObuff), IOSIZE - STRLEN(IObuff),                     _("(+%" PRId64 " for BOM)"), (int64_t)bom_count);      }      if (dict == NULL) { @@ -5392,11 +5392,11 @@ void cursor_pos_info(dict_T *dict)      dict_add_nr_str(dict, "bytes", byte_count + bom_count, NULL);      dict_add_nr_str(dict, l_VIsual_active ? "visual_bytes" : "cursor_bytes", -                    (long)byte_count_cursor, NULL); +                    byte_count_cursor, NULL);      dict_add_nr_str(dict, l_VIsual_active ? "visual_chars" : "cursor_chars", -                    (long)char_count_cursor, NULL); +                    char_count_cursor, NULL);      dict_add_nr_str(dict, l_VIsual_active ? "visual_words" : "cursor_words", -                    (long)word_count_cursor, NULL); +                    word_count_cursor, NULL);      }  }  | 
