vim-patch:8.2.4649: various formatting problems

Problem:    Various formatting problems.
Solution:   Improve the code formatting.
b4ad3b0dea
This commit is contained in:
zeertzjq
2022-03-30 18:30:36 +08:00
parent 4ca14b310c
commit 06cf205ace
4 changed files with 7 additions and 5 deletions

View File

@@ -6249,8 +6249,10 @@ static int nfa_regmatch(nfa_regprog_T *prog, nfa_state_T *start,
case NFA_MARK_GT:
case NFA_MARK_LT:
{
size_t col = rex.input - rex.line;
pos_T *pos = getmark_buf(rex.reg_buf, t->state->val, false);
pos_T *pos;
size_t col = REG_MULTI ? rex.input - rex.line : 0;
pos = getmark_buf(rex.reg_buf, t->state->val, false);
// Line may have been freed, get it again.
if (REG_MULTI) {