patch 8.2.2933: when 'clipboard' is "unnamed" zp does not work correctly

Problem:    When 'clipboard' is "unnamed" zp and zP do not work correctly.
Solution:   Pass -1 to str_to_reg() and fix computing the character width
            instead of using the byte length. (Christian Brabandt,
            closes #8301, closes #8317)
This commit is contained in:
Bram Moolenaar
2021-06-04 17:11:47 +02:00
parent 4f3c57f798
commit 6e0b553fa1
4 changed files with 12 additions and 7 deletions

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2933,
/**/
2932,
/**/