0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.0.0629: checking for ambigous width is not working

Problem:    Checking for ambigous width is not working. (Hirohito Higashi)
Solution:   Reset "starting" earlier.
This commit is contained in:
Bram Moolenaar
2017-06-09 21:35:47 +02:00
parent f085f4266e
commit 6b1da3312e
2 changed files with 5 additions and 1 deletions

View File

@@ -792,6 +792,9 @@ vim_main2(void)
if (params.n_commands > 0)
exe_commands(&params);
/* Must come before the may_req_ calls. */
starting = 0;
#if defined(FEAT_TERMRESPONSE) && defined(FEAT_MBYTE)
/* Must be done before redrawing, puts a few characters on the screen. */
may_req_ambiguous_char_width();
@@ -800,7 +803,6 @@ vim_main2(void)
RedrawingDisabled = 0;
redraw_all_later(NOT_VALID);
no_wait_return = FALSE;
starting = 0;
/* 'autochdir' has been postponed */
DO_AUTOCHDIR

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
629,
/**/
628,
/**/