vim-patch:8.1.0779: argument for message functions is inconsistent

Problem:    Argument for message functions is inconsistent.
Solution:   Make first argument to msg() "char *".
32526b3c18
This commit is contained in:
James McCoy
2021-10-23 16:04:37 -04:00
parent efa924f66b
commit e6ff154be6
39 changed files with 485 additions and 508 deletions

View File

@@ -1586,7 +1586,7 @@ void show_utf8(void)
line = get_cursor_pos_ptr();
len = utfc_ptr2len(line);
if (len == 0) {
MSG("NUL");
msg("NUL");
return;
}
@@ -1609,7 +1609,7 @@ void show_utf8(void)
}
}
msg(IObuff);
msg((char *)IObuff);
}
/// Return offset from "p" to the first byte of the character it points into.