patch 8.2.3391: crash with combination of 'linebreak' and other options

Problem:    Crash with combination of 'linebreak' and other options.
Solution:   Avoid n_extra to become negative. (Christian Brabandt,
            closes #8817)
This commit is contained in:
Bram Moolenaar
2021-08-31 20:57:55 +02:00
parent ba02e4720f
commit 20e0c3d27b
2 changed files with 10 additions and 3 deletions

View File

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