summaryrefslogtreecommitdiffstats
path: root/src/clipboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/clipboard.c')
-rw-r--r--src/clipboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clipboard.c b/src/clipboard.c
index c26349291e..b1da99bcbe 100644
--- a/src/clipboard.c
+++ b/src/clipboard.c
@@ -2090,7 +2090,7 @@ clip_yank_selection(
clip_free_selection(cbd);
- str_to_reg(y_ptr, type, str, len, 0L, FALSE);
+ str_to_reg(y_ptr, type, str, len, -1, FALSE);
}
/*