Mercurial > vim
comparison src/if_tcl.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 |
---|---|
1830 char *next; | 1830 char *next; |
1831 | 1831 |
1832 while ((next=strchr(text, '\n'))) | 1832 while ((next=strchr(text, '\n'))) |
1833 { | 1833 { |
1834 *next++ = '\0'; | 1834 *next++ = '\0'; |
1835 MSG(text); | 1835 msg(text); |
1836 text = next; | 1836 text = next; |
1837 } | 1837 } |
1838 if (*text) | 1838 if (*text) |
1839 MSG(text); | 1839 msg(text); |
1840 } | 1840 } |
1841 | 1841 |
1842 static void | 1842 static void |
1843 tcldelthisinterp(void) | 1843 tcldelthisinterp(void) |
1844 { | 1844 { |