mirror of
https://github.com/vim/vim.git
synced 2025-10-10 06:24:10 -04:00
patch 8.1.0779: argument for message functions is inconsistent
Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
This commit is contained in:
@@ -1574,7 +1574,7 @@ do_intrnl_output(char *mesg, int error)
|
||||
if (error)
|
||||
emsg(prev);
|
||||
else
|
||||
MSG(prev);
|
||||
msg(prev);
|
||||
prev = p + 1;
|
||||
p = strchr(prev, '\n');
|
||||
}
|
||||
@@ -1582,7 +1582,7 @@ do_intrnl_output(char *mesg, int error)
|
||||
if (error)
|
||||
emsg(prev);
|
||||
else
|
||||
MSG(prev);
|
||||
msg(prev);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user