diff options
Diffstat (limited to 'vi/v_section.c')
-rw-r--r-- | vi/v_section.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vi/v_section.c b/vi/v_section.c index 5314f4621ad0..09da4bac38ee 100644 --- a/vi/v_section.c +++ b/vi/v_section.c @@ -77,7 +77,7 @@ v_sectionf(SCR *sp, VICMD *vp) * check here, because we know that the end is going to be the start * or end of a line. */ - if (ISMOTION(vp)) + if (ISMOTION(vp)) { if (vp->m_start.cno == 0) F_SET(vp, VM_LMODE); else { @@ -88,6 +88,7 @@ v_sectionf(SCR *sp, VICMD *vp) if (vp->m_start.cno <= vp->m_stop.cno) F_SET(vp, VM_LMODE); } + } cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1; for (lno = vp->m_start.lno; !db_get(sp, ++lno, 0, &p, &len);) { |