fixed bug in in ShouldPromptUser function

This commit is contained in:
Alan Hamlett 2013-07-09 23:49:04 -07:00
parent 52cc1a1346
commit 638c32fd77
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ let s:VERSION = '0.2.1'
function! s:ShouldPromptUser(now, last)
let prev = a:last[1]
if s:fresh || prev[0] < 1
if s:fresh || prev < 1
return 0
endif
let duration = a:now - prev