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

patch 8.0.0159: crash on startup when updating tabline

Problem:    Using a NULL pointer when using feedkeys() to trigger drawing a
            tabline.
Solution:   Skip drawing a tabline if TabPageIdxs is NULL. (Dominique Pelle)
            Also fix recursing into getcmdline() from the cmd window.
This commit is contained in:
Bram Moolenaar
2017-01-08 20:00:04 +01:00
parent 6247361101
commit c695cec469
3 changed files with 7 additions and 1 deletions

View File

@@ -772,7 +772,9 @@ getcmdline(
/*
* Open a window to edit the command line (and history).
*/
save_cmdline(&save_ccline);
c = ex_window();
restore_cmdline(&save_ccline);
some_key_typed = TRUE;
}
}