mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
patch 9.1.2057: copying to clipboard register broken with 'go-P'
Problem: Copying to clipboard register broken with 'go-P'
(Coacher)
Solution: Verify that clip_plus is available (Foxe Chen).
fixes: #19072
closes: #19097
Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
254f844dda
commit
4157787be8
+2
-1
@@ -1154,7 +1154,8 @@ end_visual_mode_keep_button(void)
|
||||
// we need to paste it somewhere while we still own the selection.
|
||||
// Only do this when the clipboard is already owned. Don't want to grab
|
||||
// the selection when hitting ESC.
|
||||
if (clip_star.available && clip_star.owned)
|
||||
if ((clip_star.available && clip_star.owned)
|
||||
|| (clip_plus.available && clip_plus.owned))
|
||||
clip_auto_select();
|
||||
|
||||
# if defined(FEAT_EVAL)
|
||||
|
||||
@@ -734,6 +734,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2057,
|
||||
/**/
|
||||
2056,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user