diff options
author | Michael Reed <m.reed@mykolab.com> | 2015-05-13 15:29:50 -0400 |
---|---|---|
committer | Michael Reed <m.reed@mykolab.com> | 2015-05-13 15:29:50 -0400 |
commit | 3c5864772f1c4d899fb5521868d373bcf0ebf788 (patch) | |
tree | a3b1ef76fce70cc91da8bb4270fc3b91c32609cf /src/nvim/ops.c | |
parent | d666b0e48fd11d5a159e8e0055ce20d287b89644 (diff) | |
download | rneovim-3c5864772f1c4d899fb5521868d373bcf0ebf788.tar.gz rneovim-3c5864772f1c4d899fb5521868d373bcf0ebf788.tar.bz2 rneovim-3c5864772f1c4d899fb5521868d373bcf0ebf788.zip |
Remove char_u: message:smsg()
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 268f2ac94f..2cbf74ac90 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -591,7 +591,7 @@ void op_reindent(oparg_T *oap, Indenter how) if (i > 1 && (i % 50 == 0 || i == oap->line_count - 1) && oap->line_count > p_report) - smsg((char_u *)_("%" PRId64 " lines to indent... "), (int64_t)i); + smsg(_("%" PRId64 " lines to indent... "), (int64_t)i); /* * Be vi-compatible: For lisp indenting the first line is not @@ -635,7 +635,7 @@ void op_reindent(oparg_T *oap, Indenter how) if (i == 1) MSG(_("1 line indented ")); else - smsg((char_u *)_("%" PRId64 " lines indented "), (int64_t)i); + smsg(_("%" PRId64 " lines indented "), (int64_t)i); } /* set '[ and '] marks */ curbuf->b_op_start = oap->start; @@ -1902,7 +1902,7 @@ void op_tilde(oparg_T *oap) if (oap->line_count == 1) MSG(_("1 line changed")); else - smsg((char_u *)_("%" PRId64 " lines changed"), (int64_t)oap->line_count); + smsg(_("%" PRId64 " lines changed"), (int64_t)oap->line_count); } } @@ -2497,10 +2497,10 @@ static void op_yank_reg(oparg_T *oap, bool message, yankreg_T *reg, bool append) else MSG(_("1 line yanked")); } else if (oap->block_mode) - smsg((char_u *)_("block of %" PRId64 " lines yanked"), + smsg(_("block of %" PRId64 " lines yanked"), (int64_t)yanklines); else - smsg((char_u *)_("%" PRId64 " lines yanked"), (int64_t)yanklines); + smsg(_("%" PRId64 " lines yanked"), (int64_t)yanklines); } } |