Skip to content

Commit

Permalink
patch 8.1.1394: not restoring t_F2 in registers test
Browse files Browse the repository at this point in the history
Problem:    Not restoring t_F2 in registers test.
Solution:   Assign to &t_F2 instead of t_F2. (Andy Massimino, closes #4434)
  • Loading branch information
brammool committed May 25, 2019
1 parent 51e1438 commit a5e4460
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/testdir/test_registers.vim
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -767,6 +767,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1394,
/**/
1393,
/**/
Expand Down

0 comments on commit a5e4460

Please sign in to comment.