diff --git a/src/testdir/test_statusline.vim b/src/testdir/test_statusline.vim index 48c7bb6696..d4267ee929 100644 --- a/src/testdir/test_statusline.vim +++ b/src/testdir/test_statusline.vim @@ -14,11 +14,15 @@ func TearDown() endfunc func s:get_statusline() + redraw! if has('gui_running') - redraw! sleep 1m endif - return ScreenLines(&lines - 1, &columns)[0] + " Read the screen directly after redraw! instead of going through + " ScreenLines(), whose own redraw! may process events and change the window + " layout between here and the screenstring() calls. + let row = &lines - 1 + return join(map(range(1, &columns), 'screenstring(row, v:val)'), '') endfunc func StatuslineWithCaughtError() diff --git a/src/version.c b/src/version.c index 81bd8d09f4..25903a8ede 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 598, /**/ 597, /**/