summaryrefslogtreecommitdiffstats
path: root/src/normal.c
diff options
context:
space:
mode:
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 d8f9415d28..344bd7db70 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