0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.1.1394: not restoring t_F2 in registers test

Problem:    Not restoring t_F2 in registers test.
Solution:   Assign to &t_F2 instead of t_F2. (Andy Massimino, closes #4434)
This commit is contained in:
Bram Moolenaar 2019-05-25 21:52:30 +02:00
parent 51e14387f1
commit a5e44600eb
2 changed files with 3 additions and 1 deletions

View File

@ -162,7 +162,7 @@ func Test_recording_esc_sequence()
call assert_equal(['Quirk', 'Test', 'Quirk', 'Test'], getline(1, 4))
bwipe!
if exists('save_F2')
let t_F2 = save_F2
let &t_F2 = save_F2
else
set t_F2=
endif

View File

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