summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-05-10 17:29:33 +0200
committerBram Moolenaar <Bram@vim.org>2011-05-10 17:29:33 +0200
commite2bdce3f5c0fb52a733fa4ba4f8a299c81fc7b29 (patch)
tree81f79f907e98878fa9253b1eda92140fd76862db /src/normal.c
parent1bfb61e80b838f1182b2fef00b808220bddb5f1f (diff)
downloadvim-git-e2bdce3f5c0fb52a733fa4ba4f8a299c81fc7b29.tar.gz
updated for version 7.3.189v7.3.189
Problem: Can't build without +clipboard feature. (Christian Ebert) Solution: Add the missing #ifdef.
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/normal.c b/src/normal.c
index d8f9415d2..344bd7db7 100644
--- 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