fix bug causing extra heartbeats time to contain two decimals

This commit is contained in:
Alan Hamlett 2017-10-04 08:20:19 -07:00
parent cc46d817ce
commit f20a93e778
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ let s:VERSION = '5.0.2'
function! s:OrderTime(time_str, loop_count)
" Add a milisecond to a:time.
" Time prevision doesn't matter, but order of heartbeats does.
if !a:time_str =~ "\."
if !(a:time_str =~ "\.")
let millisecond = printf('%d', a:loop_count)
while strlen(millisecond) < 6
let millisecond = '0' . millisecond