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/05fc2192c25a
branches:  trunk
changeset: 325764:05fc2192c25a
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 05 17:30:16 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_mark.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4a90917c929d -r 05fc2192c25a external/bsd/nvi/dist/vi/v_mark.c
--- a/external/bsd/nvi/dist/vi/v_mark.c Sun Jan 05 16:38:05 2014 +0000
+++ b/external/bsd/nvi/dist/vi/v_mark.c Sun Jan 05 17:30:16 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: v_mark.c,v 1.2 2013/11/22 15:52:06 christos Exp $ */
+/*     $NetBSD: v_mark.c,v 1.3 2014/01/05 17:30:16 christos Exp $ */
 /*-
  * Copyright (c) 1992, 1993, 1994
  *     The Regents of the University of California.  All rights reserved.
@@ -169,7 +169,7 @@
                m = vp->m_start;
                vp->m_start = vp->m_stop;
                vp->m_stop = m;
-       } else
+       }
 
        /*
         * Yank cursor motion, when associated with marks as motion commands,



Home | Main Index | Thread Index | Old Index