Module Name:    src
Committed By:   christos
Date:           Sun Jan  5 17:30:16 UTC 2014

Modified Files:
        src/external/bsd/nvi/dist/vi: v_mark.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/nvi/dist/vi/v_mark.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/nvi/dist/vi/v_mark.c
diff -u src/external/bsd/nvi/dist/vi/v_mark.c:1.2 src/external/bsd/nvi/dist/vi/v_mark.c:1.3
--- src/external/bsd/nvi/dist/vi/v_mark.c:1.2	Fri Nov 22 10:52:06 2013
+++ src/external/bsd/nvi/dist/vi/v_mark.c	Sun Jan  5 12:30:16 2014
@@ -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 @@ mark(SCR *sp, VICMD *vp, int getmark, en
 		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,

Reply via email to