mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04:00
updated for version 7.0042
This commit is contained in:
@@ -871,10 +871,7 @@ validate_cursor_col()
|
||||
|
||||
/* long line wrapping, adjust curwin->w_wrow */
|
||||
if (curwin->w_p_wrap && col >= (colnr_T)W_WIDTH(curwin)
|
||||
#ifdef FEAT_VERTSPLIT
|
||||
&& curwin->w_width != 0
|
||||
#endif
|
||||
)
|
||||
&& W_WIDTH(curwin) - off + curwin_col_off2() > 0)
|
||||
{
|
||||
col -= W_WIDTH(curwin);
|
||||
col = col % (W_WIDTH(curwin) - off + curwin_col_off2());
|
||||
|
Reference in New Issue
Block a user