comparison src/if_perl.xs @ 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 0fcc1315c061
children 93b78c4a7cd5
comparison
equal deleted inserted replaced
15542:5baedae7ca7a 15543:dd725a8ab112
796 char *token = (char *)s; 796 char *token = (char *)s;
797 797
798 while ((next = strchr(token, '\n')) && !got_int) 798 while ((next = strchr(token, '\n')) && !got_int)
799 { 799 {
800 *next++ = '\0'; /* replace \n with \0 */ 800 *next++ = '\0'; /* replace \n with \0 */
801 msg_attr((char_u *)token, attr); 801 msg_attr(token, attr);
802 token = next; 802 token = next;
803 } 803 }
804 if (*token && !got_int) 804 if (*token && !got_int)
805 msg_attr((char_u *)token, attr); 805 msg_attr(token, attr);
806 } 806 }
807 807
808 #ifndef FEAT_EVAL 808 #ifndef FEAT_EVAL
809 /* 809 /*
810 * This stub is needed because an "#ifdef FEAT_EVAL" around Eval() doesn't 810 * This stub is needed because an "#ifdef FEAT_EVAL" around Eval() doesn't