fixed bug where prompt would do opposite of user selection

This commit is contained in:
Alan Hamlett 2013-07-15 15:09:16 -07:00
parent 2b072d642f
commit ebf7394a3e
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ let s:VERSION = '0.2.2'
let units = units . 's'
endif
let answer = input(printf("You were away %.f %s%s. Add time to current file? (y/n)", duration, units, minutes))
if answer != "y"
if answer == "y"
return 1
endif
return 0