diff options
Diffstat (limited to 'src/nvim/regexp.c')
-rw-r--r-- | src/nvim/regexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c index 8241770bd3..cade4bd1c1 100644 --- a/src/nvim/regexp.c +++ b/src/nvim/regexp.c @@ -5021,7 +5021,7 @@ regmatch ( /* * If the regstack is empty or something failed we are done. */ - if (regstack.ga_len == 0 || status == RA_FAIL) { + if (GA_EMPTY(®stack) || status == RA_FAIL) { if (scan == NULL) { /* * We get here only if there's trouble -- normally "case END" is |