mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 9.0.0218: reading before the start of the line
Problem: Reading before the start of the line. Solution: When displaying "$" check the column is not negative.
This commit is contained in:
@@ -1746,8 +1746,9 @@ edit_unputchar(void)
|
||||
* Only works when cursor is in the line that changes.
|
||||
*/
|
||||
void
|
||||
display_dollar(colnr_T col)
|
||||
display_dollar(colnr_T col_arg)
|
||||
{
|
||||
colnr_T col = col_arg < 0 ? 0 : col_arg;
|
||||
colnr_T save_col;
|
||||
|
||||
if (!redrawing())
|
||||
|
Reference in New Issue
Block a user