0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 8.1.1388: errors when calling prop_remove() for an unloaded buffer

Problem:    Errors when calling prop_remove() for an unloaded buffer.
Solution:   Bail out when the buffer is not loaded.  Add a few more tests for
            failing when the buffer number is invalid.
This commit is contained in:
Bram Moolenaar
2019-05-24 21:22:29 +02:00
parent d79eef2eb1
commit f0884c5f3f
3 changed files with 30 additions and 11 deletions

View File

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