diff src/normal.c @ 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 3d1a3aa0240c
children c6df8554b39d
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