Skip to content

Commit

Permalink
Fix bug when closing window
Browse files Browse the repository at this point in the history
  • Loading branch information
mattboehm committed Dec 16, 2013
1 parent 31d79c3 commit 9e04721
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.markdown
Expand Up @@ -7,7 +7,7 @@ Accordion lets you set the maximum number of vsplits you want to see, and shrink

If you want to view changes to a file over time, it's got a fancy diff mode. Even if you're not big on vsplits, you may want to consider Accordion for this feature alone.

Version 0.5.2
Version 0.5.3

But I Don't Use Splits!
-----------------------
Expand Down
2 changes: 1 addition & 1 deletion autoload/accordion.vim
Expand Up @@ -304,7 +304,7 @@ function! s:GetDesiredViewport(size, direction)
let resized_viewport = {}
let should_redraw = 1
let dir = a:direction["direction"]
let magnitude = a:direction["magnitude"]
let magnitude = get(a:direction, "magnitude")
if exists("g:accordion_size_changed")
let size_changed = 1
let dir = "h"
Expand Down

0 comments on commit 9e04721

Please sign in to comment.