diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-03-16 11:01:10 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-03-16 11:01:10 -0400 |
commit | 7d5e1db5865c3e19f5fa2051836039dfe620b3d0 (patch) | |
tree | 1f2540388d8e0dad31dbba0861493d435b6ce741 /src/nvim/regexp_nfa.c | |
parent | 08d2f7b5629f036273a6e04193374fdc10be18d7 (diff) | |
parent | 4fd8c3cbbbc14a1a8603dc0b3fe6dd08e0fc1631 (diff) | |
download | rneovim-7d5e1db5865c3e19f5fa2051836039dfe620b3d0.tar.gz rneovim-7d5e1db5865c3e19f5fa2051836039dfe620b3d0.tar.bz2 rneovim-7d5e1db5865c3e19f5fa2051836039dfe620b3d0.zip |
Merge #2157 'Minor cleanups'
Diffstat (limited to 'src/nvim/regexp_nfa.c')
-rw-r--r-- | src/nvim/regexp_nfa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/regexp_nfa.c b/src/nvim/regexp_nfa.c index fec7100703..6ed42303ef 100644 --- a/src/nvim/regexp_nfa.c +++ b/src/nvim/regexp_nfa.c @@ -5322,7 +5322,7 @@ static int nfa_regmatch(nfa_regprog_T *prog, nfa_state_T *start, regsubs_T *subm if (ireg_icombine && len == 0) { /* If \Z was present, then ignore composing characters. * When ignoring the base character this always matches. */ - if (len == 0 && sta->c != curc) + if (sta->c != curc) result = FAIL; else result = OK; |