diff options
-rw-r--r-- | src/regexp_nfa.c | 4 | ||||
-rw-r--r-- | src/ui.c | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c index d8df13cb07..b16ba56ea6 100644 --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c @@ -3739,7 +3739,7 @@ match_follows(startstate, depth) if (depth > 10) return FALSE; - for (;;) + while (state != NULL) { switch (state->c) { @@ -3765,7 +3765,7 @@ match_follows(startstate, depth) case NFA_COMPOSING: /* skip ahead to next state */ state = state->out1->out; - break; + continue; case NFA_ANY: case NFA_IDENT: @@ -1467,8 +1467,9 @@ clip_gen_owner_exists(cbd) else # endif return clip_x11_owner_exists(cbd); -#endif +#else return TRUE; +#endif } #endif /* FEAT_CLIPBOARD */ diff --git a/src/version.c b/src/version.c index 67230f5dad..1744af4158 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 18, +/**/ 17, /**/ 16, |