summaryrefslogtreecommitdiffstats
path: root/src/clipboard.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-01-02 16:53:13 +0100
committerBram Moolenaar <Bram@vim.org>2021-01-02 16:53:13 +0100
commita72514945bc3edd4fc4d745004e37c5d5487c98d (patch)
tree8be6f3c985e10ae5c3741e5af54beab49a54648b /src/clipboard.c
parent7e6a515ed14e204fafb3dd6e98f2fb543e64aedd (diff)
patch 8.2.2276: list of distributed files is outdatedv8.2.2276
Problem: List of distributed files is outdated. Solution: Update the file list. Minor comment updates.
Diffstat (limited to 'src/clipboard.c')
-rw-r--r--src/clipboard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/clipboard.c b/src/clipboard.c
index 3084ce1871..c26349291e 100644
--- a/src/clipboard.c
+++ b/src/clipboard.c
@@ -2047,6 +2047,8 @@ clip_get_selection(Clipboard_T *cbd)
ca.count1 = 1;
ca.retval = CA_NO_ADJ_OP_END;
do_pending_operator(&ca, 0, TRUE);
+
+ // restore things
set_y_previous(old_y_previous);
set_y_current(old_y_current);
curwin->w_cursor = old_cursor;