comparison src/if_mzsch.c @ 15543:dd725a8ab112 v8.1.0779

patch 8.1.0779: argument for message functions is inconsistent commit https://github.com/vim/vim/commit/32526b3c1846025f0e655f41efd4e5428da16b6c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 19 17:43:09 2019 +0100 patch 8.1.0779: argument for message functions is inconsistent Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
author Bram Moolenaar <Bram@vim.org>
date Sat, 19 Jan 2019 17:45:07 +0100
parents 55ccc2d353bd
children 7fad90423bd2
comparison
equal deleted inserted replaced
15542:5baedae7ca7a 15543:dd725a8ab112
1572 { 1572 {
1573 *p = '\0'; 1573 *p = '\0';
1574 if (error) 1574 if (error)
1575 emsg(prev); 1575 emsg(prev);
1576 else 1576 else
1577 MSG(prev); 1577 msg(prev);
1578 prev = p + 1; 1578 prev = p + 1;
1579 p = strchr(prev, '\n'); 1579 p = strchr(prev, '\n');
1580 } 1580 }
1581 1581
1582 if (error) 1582 if (error)
1583 emsg(prev); 1583 emsg(prev);
1584 else 1584 else
1585 MSG(prev); 1585 msg(prev);
1586 } 1586 }
1587 1587
1588 static void 1588 static void
1589 do_output(char *mesg, OUTPUT_LEN_TYPE len UNUSED) 1589 do_output(char *mesg, OUTPUT_LEN_TYPE len UNUSED)
1590 { 1590 {