Patch 7.2.042
commitc584321209fe34fe8f3ad5a3caa444c35774dd32
authoredyfox <edyfox@2a77ed30-b011-0410-a7ad-c7884a0aa172>
Sun, 16 Nov 2008 01:53:43 +0000 (16 01:53 +0000)
committeredyfox <edyfox@2a77ed30-b011-0410-a7ad-c7884a0aa172>
Sun, 16 Nov 2008 01:53:43 +0000 (16 01:53 +0000)
tree9ff9d1be3e8305b6a5e5ce679027a7e73ced1a8b
parentb8c6dbbebfbbd22666ab6f7c6ae3844484b5307b
Patch 7.2.042
Problem:    When using winrestview() in a BufWinEnter autocommand the window
            is scrolled anyway. (Matt Zyzik)
Solution:   Don't recompute topline when above 'scrolloff' from the bottom.
            Don't always put the cursor halfway when entering a buffer.  Add
            "w_topline_was_set".
Files:      src/buffer.c, src/move.c, src/structs.h

git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/branches/vim7.2@1249 2a77ed30-b011-0410-a7ad-c7884a0aa172
src/buffer.c
src/move.c
src/structs.h
src/version.c