Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/nvi/dist/vi PR/48502: M. Levinson: vi(1) no lon...



details:   https://anonhg.NetBSD.org/src/rev/415d48692812
branches:  trunk
changeset: 325789:415d48692812
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jan 06 14:21:37 2014 +0000

description:
PR/48502: M. Levinson: vi(1) no longer moves the cursor when yanking text
using a mark (remove dangling else)

diffstat:

 external/bsd/nvi/dist/vi/v_search.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f1f2723c938b -r 415d48692812 external/bsd/nvi/dist/vi/v_search.c
--- a/external/bsd/nvi/dist/vi/v_search.c       Mon Jan 06 13:59:00 2014 +0000
+++ b/external/bsd/nvi/dist/vi/v_search.c       Mon Jan 06 14:21:37 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: v_search.c,v 1.4 2013/12/25 17:18:39 christos Exp $ */
+/*     $NetBSD: v_search.c,v 1.5 2014/01/06 14:21:37 christos Exp $ */
 /*-
  * Copyright (c) 1992, 1993, 1994
  *     The Regents of the University of California.  All rights reserved.
@@ -525,7 +525,7 @@
                m = vp->m_start;
                vp->m_start = vp->m_stop;
                vp->m_stop = m;
-       } else
+       }
 
        /*
         * BACKWARD:



Home | Main Index | Thread Index | Old Index