Permalink
Browse files

Fix wrong parameter usage

  • Loading branch information...
1 parent f646cd0 commit d832e8b2d8bc4385f62ca6f7a433529e5182aada @kmnk committed Nov 9, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 autoload/giti.vim
View
@@ -131,13 +131,13 @@ endfunction"}}}
function! giti#input(prompt, ...)"{{{
if a:0 <= 0
- return input(prompt)
+ return input(a:prompt)
endif
if a:0 == 1
- return input(prompt, a:1)
+ return input(a:prompt, a:1)
endif
if a:0 == 2
- return input(prompt, a:1, a:2)
+ return input(a:prompt, a:1, a:2)
endif
endfunction"}}}

0 comments on commit d832e8b

Please sign in to comment.