Mercurial > vim
diff src/proto/misc2.pro @ 10110:cfb38b57d407 v7.4.2326
commit https://github.com/vim/vim/commit/d5824ce1b5491df7d2eb0b66189d366fa67b4585
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 4 20:35:01 2016 +0200
patch 7.4.2326
Problem: Illegal memory access when Visual selection starts in invalid
position. (Dominique Pelle)
Solution: Correct position when needed.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 04 Sep 2016 20:45:05 +0200 |
parents | 989d44d35a66 |
children | 66f1b5bf3fa6 |
line wrap: on
line diff
--- a/src/proto/misc2.pro +++ b/src/proto/misc2.pro @@ -12,6 +12,7 @@ int dec_cursor(void); int dec(pos_T *lp); int decl(pos_T *lp); linenr_T get_cursor_rel_lnum(win_T *wp, linenr_T lnum); +void check_pos(buf_T *buf, pos_T *pos); void check_cursor_lnum(void); void check_cursor_col(void); void check_cursor_col_win(win_T *win);