aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2015-05-13 15:29:50 -0400
committerMichael Reed <m.reed@mykolab.com>2015-05-13 15:29:50 -0400
commit3c5864772f1c4d899fb5521868d373bcf0ebf788 (patch)
treea3b1ef76fce70cc91da8bb4270fc3b91c32609cf /src/nvim/ex_docmd.c
parentd666b0e48fd11d5a159e8e0055ce20d287b89644 (diff)
downloadrneovim-3c5864772f1c4d899fb5521868d373bcf0ebf788.tar.gz
rneovim-3c5864772f1c4d899fb5521868d373bcf0ebf788.tar.bz2
rneovim-3c5864772f1c4d899fb5521868d373bcf0ebf788.zip
Remove char_u: message:smsg()
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index c1572d5e6e..ee935773b4 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -604,7 +604,7 @@ int do_cmdline(char_u *cmdline, LineGetter fgetline,
++no_wait_return;
verbose_enter_scroll();
- smsg((char_u *)_("line %" PRId64 ": %s"),
+ smsg(_("line %" PRId64 ": %s"),
(int64_t)sourcing_lnum, cmdline_copy);
if (msg_silent == 0)
msg_puts((char_u *)"\n"); /* don't overwrite this */
@@ -6901,7 +6901,7 @@ static void ex_pwd(exarg_T *eap)
*/
static void ex_equal(exarg_T *eap)
{
- smsg((char_u *)"%" PRId64, (int64_t)eap->line2);
+ smsg("%" PRId64, (int64_t)eap->line2);
ex_may_print(eap);
}
@@ -9221,7 +9221,7 @@ static void ex_filetype(exarg_T *eap)
if (*eap->arg == NUL) {
/* Print current status. */
- smsg((char_u *)"filetype detection:%s plugin:%s indent:%s",
+ smsg("filetype detection:%s plugin:%s indent:%s",
filetype_detect ? "ON" : "OFF",
filetype_plugin ? (filetype_detect ? "ON" : "(on)") : "OFF",
filetype_indent ? (filetype_detect ? "ON" : "(on)") : "OFF");