mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 22:08:18 +00:00
lint: clean-up after parent commit
This commit is contained in:
@@ -476,9 +476,10 @@ bool leftcol_changed(void)
|
||||
|
||||
int gchar_cursor(void)
|
||||
{
|
||||
if (has_mbyte)
|
||||
if (has_mbyte) {
|
||||
return utf_ptr2char(get_cursor_pos_ptr());
|
||||
return (int)*get_cursor_pos_ptr();
|
||||
}
|
||||
return (int)(*get_cursor_pos_ptr());
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -507,4 +508,3 @@ char_u *get_cursor_pos_ptr(void)
|
||||
return ml_get_buf(curbuf, curwin->w_cursor.lnum, false) +
|
||||
curwin->w_cursor.col;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user