]> granicus.if.org Git - vim/commit
patch 8.2.2933: when 'clipboard' is "unnamed" zp does not work correctly v8.2.2933
authorBram Moolenaar <Bram@vim.org>
Fri, 4 Jun 2021 15:11:47 +0000 (17:11 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 4 Jun 2021 15:11:47 +0000 (17:11 +0200)
commit6e0b553fa12fc5ad5d8ee3d8457e7cb16f38b56f
treec44800eb22c5b806dbc18c05a7d890e8b4b1f905
parent4f3c57f7980592b25f483e5953799c010a8ae196
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)
src/clipboard.c
src/mbyte.c
src/register.c
src/version.c