diff options
Diffstat (limited to 'ex/ex_filter.c')
-rw-r--r-- | ex/ex_filter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ex/ex_filter.c b/ex/ex_filter.c index cd04643b5f08..fee34a6dc639 100644 --- a/ex/ex_filter.c +++ b/ex/ex_filter.c @@ -174,11 +174,12 @@ err: if (input[0] != -1) if (ex_readfp(sp, "filter", ofp, fm, &nread, 1)) rval = 1; sp->rptlines[L_ADDED] += nread; - if (ftype == FILTER_READ) + if (ftype == FILTER_READ) { if (fm->lno == 0) rp->lno = nread; else rp->lno += nread; + } goto uwait; } |