changeset 2829:71e1da07e141 v7.3.189

updated for version 7.3.189 Problem: Can't build without +clipboard feature. (Christian Ebert) Solution: Add the missing #ifdef.
author Bram Moolenaar <bram@vim.org>
date Tue, 10 May 2011 17:29:33 +0200
parents 561cab6fc701
children d161a7f704f6
files src/normal.c src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/normal.c
+++ b/src/normal.c
@@ -1204,9 +1204,12 @@ getcount:
 #ifdef FEAT_EVAL
 	{
 	    int regname = 0;
+
 	    /* Adjust the register according to 'clipboard', so that when
 	     * "unnamed" is present it becomes '*' or '+' instead of '"'. */
+# ifdef FEAT_CLIPBOARD
 	    adjust_clip_reg(&regname);
+# endif
 	    set_reg_var(regname);
 	}
 #endif
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    189,
+/**/
     188,
 /**/
     187,