Patch 7.2.008
commit14186937a43195078f0d8805c0ef2e6d4d90e6f2
authoredyfox <edyfox@2a77ed30-b011-0410-a7ad-c7884a0aa172>
Tue, 2 Sep 2008 00:16:16 +0000 (2 00:16 +0000)
committeredyfox <edyfox@2a77ed30-b011-0410-a7ad-c7884a0aa172>
Tue, 2 Sep 2008 00:16:16 +0000 (2 00:16 +0000)
treea15171d41c7af43b36eca3314965090817c3f57b
parente3a217b40dae46770895d03e99dd1d5211f31ffa
Patch 7.2.008
Problem:    With a BufHidden autocommand that invokes ":bunload" the window
            count for a buffer can be wrong. (Bob Hiestand)
Solution:   Don't call enter_buffer() when already in that buffer.
Files:      src/buffer.c

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