From 3c5864772f1c4d899fb5521868d373bcf0ebf788 Mon Sep 17 00:00:00 2001 From: Michael Reed Date: Wed, 13 May 2015 15:29:50 -0400 Subject: Remove char_u: message:smsg() --- src/nvim/ops.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/nvim/ops.c') 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); } } -- cgit