changeset 4507:9dbbddb2ed10 v7.3.1001

updated for version 7.3.1001 Problem: Duplicate condition in if. Solution: Remove one condition.
author Bram Moolenaar <bram@vim.org>
date Tue, 21 May 2013 22:00:51 +0200
parents 8a2dc8478d55
children 409c7fa62187
files src/regexp_nfa.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -1091,7 +1091,7 @@ nfa_regatom()
 		    {
 			nfa_inc(&regparse);
 
-			if (*regparse == 'n' || *regparse == 'n')
+			if (*regparse == 'n')
 			    startc = reg_string ? NL : NFA_NEWL;
 			else
 			    if  (*regparse == 'd'
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1001,
+/**/
     1000,
 /**/
     999,