Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
10109:3edc6b14299b | 10110:cfb38b57d407 |
---|---|
10 int incl(pos_T *lp); | 10 int incl(pos_T *lp); |
11 int dec_cursor(void); | 11 int dec_cursor(void); |
12 int dec(pos_T *lp); | 12 int dec(pos_T *lp); |
13 int decl(pos_T *lp); | 13 int decl(pos_T *lp); |
14 linenr_T get_cursor_rel_lnum(win_T *wp, linenr_T lnum); | 14 linenr_T get_cursor_rel_lnum(win_T *wp, linenr_T lnum); |
15 void check_pos(buf_T *buf, pos_T *pos); | |
15 void check_cursor_lnum(void); | 16 void check_cursor_lnum(void); |
16 void check_cursor_col(void); | 17 void check_cursor_col(void); |
17 void check_cursor_col_win(win_T *win); | 18 void check_cursor_col_win(win_T *win); |
18 void check_cursor(void); | 19 void check_cursor(void); |
19 void adjust_cursor_col(void); | 20 void adjust_cursor_col(void); |