Skip to content

Commit 0167293

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents abca128 + 9ec021a commit 0167293

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/mbyte.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4552,7 +4552,7 @@ init_preedit_start_col(void)
45524552
{
45534553
if (State & CMDLINE)
45544554
preedit_start_col = cmdline_getvcol_cursor();
4555-
else if (curwin != NULL)
4555+
else if (curwin != NULL && curwin->w_buffer != NULL)
45564556
getvcol(curwin, &curwin->w_cursor, &preedit_start_col, NULL, NULL);
45574557
/* Prevent that preediting marks the buffer as changed. */
45584558
xim_changed_while_preediting = curbuf->b_changed;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,8 @@ static char *(features[]) =
756756

757757
static int included_patches[] =
758758
{ /* Add new patch number below this line */
759+
/**/
760+
970,
759761
/**/
760762
969,
761763
/**/

0 commit comments

Comments
 (0)