0
0
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:
Bram Moolenaar
2005-01-19 22:18:32 +00:00
parent c92ad2e2c2
commit 383f9bc302
34 changed files with 463 additions and 56 deletions

View File

@@ -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());