mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 14:58:18 +00:00
vim-patch:8.2.0464: typos and other small problems
Problem: Typos and other small problems.
Solution: Fix the typos. Add missing file to distribution.
2d9d409ad4
This commit is contained in:
@@ -1750,6 +1750,7 @@ buf_T * buflist_new(char_u *ffname, char_u *sfname, linenr_T lnum, int flags)
|
|||||||
apply_autocmds(EVENT_BUFWIPEOUT, NULL, NULL, false, curbuf);
|
apply_autocmds(EVENT_BUFWIPEOUT, NULL, NULL, false, curbuf);
|
||||||
}
|
}
|
||||||
if (aborting()) { // autocmds may abort script processing
|
if (aborting()) { // autocmds may abort script processing
|
||||||
|
xfree(ffname);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (buf == curbuf) {
|
if (buf == curbuf) {
|
||||||
|
@@ -2220,7 +2220,6 @@ win_line (
|
|||||||
int tocol = MAXCOL; // end of inverting
|
int tocol = MAXCOL; // end of inverting
|
||||||
int fromcol_prev = -2; // start of inverting after cursor
|
int fromcol_prev = -2; // start of inverting after cursor
|
||||||
bool noinvcur = false; // don't invert the cursor
|
bool noinvcur = false; // don't invert the cursor
|
||||||
pos_T *top, *bot;
|
|
||||||
int lnum_in_visual_area = false;
|
int lnum_in_visual_area = false;
|
||||||
pos_T pos;
|
pos_T pos;
|
||||||
long v;
|
long v;
|
||||||
@@ -2420,6 +2419,8 @@ win_line (
|
|||||||
|
|
||||||
// handle Visual active in this window
|
// handle Visual active in this window
|
||||||
if (VIsual_active && wp->w_buffer == curwin->w_buffer) {
|
if (VIsual_active && wp->w_buffer == curwin->w_buffer) {
|
||||||
|
pos_T *top, *bot;
|
||||||
|
|
||||||
if (ltoreq(curwin->w_cursor, VIsual)) {
|
if (ltoreq(curwin->w_cursor, VIsual)) {
|
||||||
// Visual is after curwin->w_cursor
|
// Visual is after curwin->w_cursor
|
||||||
top = &curwin->w_cursor;
|
top = &curwin->w_cursor;
|
||||||
|
Reference in New Issue
Block a user