Module Name:    src
Committed By:   christos
Date:           Mon Jan  6 14:21:37 UTC 2014

Modified Files:
        src/external/bsd/nvi/dist/vi: v_search.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.4 -r1.5 src/external/bsd/nvi/dist/vi/v_search.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_search.c
diff -u src/external/bsd/nvi/dist/vi/v_search.c:1.4 src/external/bsd/nvi/dist/vi/v_search.c:1.5
--- src/external/bsd/nvi/dist/vi/v_search.c:1.4	Wed Dec 25 12:18:39 2013
+++ src/external/bsd/nvi/dist/vi/v_search.c	Mon Jan  6 09:21:37 2014
@@ -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 @@ v_correct(SCR *sp, VICMD *vp, int isdelt
 		m = vp->m_start;
 		vp->m_start = vp->m_stop;
 		vp->m_stop = m;
-	} else
+	}
 
 	/*
 	 * BACKWARD:

Reply via email to