mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 23:31:51 +00:00
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -879,7 +879,7 @@ static colnr_T hardcopy_line(prt_settings_T *psettings, int page_line, prt_pos_T
|
||||
}
|
||||
|
||||
mch_print_start_line(false, page_line);
|
||||
line = ml_get(ppos->file_line);
|
||||
line = (char_u *)ml_get(ppos->file_line);
|
||||
|
||||
/*
|
||||
* Loop over the columns until the end of the file line or right margin.
|
||||
@@ -897,7 +897,7 @@ static colnr_T hardcopy_line(prt_settings_T *psettings, int page_line, prt_pos_T
|
||||
id = 0;
|
||||
}
|
||||
// Get the line again, a multi-line regexp may invalidate it.
|
||||
line = ml_get(ppos->file_line);
|
||||
line = (char_u *)ml_get(ppos->file_line);
|
||||
|
||||
if (id != current_syn_id) {
|
||||
current_syn_id = id;
|
||||
|
Reference in New Issue
Block a user