svn commit: r340288 - head/contrib/nvi/vi

Ed Maste emaste at FreeBSD.org
Fri Nov 9 17:39:58 UTC 2018


Author: emaste
Date: Fri Nov  9 17:39:57 2018
New Revision: 340288
URL: https://svnweb.freebsd.org/changeset/base/340288

Log:
  nvi: remove superfluous space before ^\
  
  This fixes alignment in vi's 'viusage' command and has been fixed
  upstream and in OpenBSD.
  
  Submitted by:	Raf Czlonka (github:rjc)
  MFC after:	1 week
  Pull Request:	https://github.com/freebsd/freebsd/pull/122

Modified:
  head/contrib/nvi/vi/v_cmd.c

Modified: head/contrib/nvi/vi/v_cmd.c
==============================================================================
--- head/contrib/nvi/vi/v_cmd.c	Fri Nov  9 15:27:41 2018	(r340287)
+++ head/contrib/nvi/vi/v_cmd.c	Fri Nov  9 17:39:57 2018	(r340288)
@@ -130,7 +130,7 @@ VIKEYS const vikeys [MAXVIKEY + 1] = {
 /* 034  ^\ */
 	{v_exmode,	0,
 	    "^\\",
-	    " ^\\ switch to ex mode"},
+	    "^\\ switch to ex mode"},
 /* 035  ^] */
 	{v_tagpush,	V_ABS|V_KEYW|VM_RCM_SET,
 	    "^]",


More information about the svn-src-all mailing list