Browse files

Re-resize to work around windows with winfixheight set

Rix #302
  • Loading branch information...
1 parent be5842a commit 7251d9dce85e45b41dab00d7d7032713847ed5ea @kien committed Oct 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/ctrlp.vim
View
2 autoload/ctrlp.vim
@@ -273,7 +273,7 @@ fu! s:Close()
if exists('s:glb_acd') | let &acd = s:glb_acd | en
let g:ctrlp_lines = []
if s:winres[1] >= &lines && s:winres[2] == winnr('$')
- exe s:winres[0]
+ exe s:winres[0].s:winres[0]
en
unl! s:focus s:hisidx s:hstgot s:marked s:statypes s:cline s:init s:savestr
\ s:mrbs s:did_exp

0 comments on commit 7251d9d

Please sign in to comment.