refactor: reduce number of explicit char casts (#16077)

* refactor: reduce number of explicit char casts
This commit is contained in:
dundargoc
2021-11-16 20:27:59 +01:00
committed by GitHub
parent 99211b008c
commit eba317d7a9
27 changed files with 151 additions and 167 deletions

View File

@@ -2564,7 +2564,7 @@ static int ml_delete_int(buf_T *buf, linenr_T lnum, bool message)
*/
if (buf->b_ml.ml_line_count == 1) { // file becomes empty
if (message) {
set_keep_msg((char_u *)_(no_lines_msg), 0);
set_keep_msg(_(no_lines_msg), 0);
}
i = ml_replace((linenr_T)1, (char_u *)"", true);