actions: seek: fix incremental seeking so it doesn't reset aftet 30 seconds

This commit is contained in:
Andrzej Rybczak
2014-12-13 19:03:00 +01:00
parent 2ef83ff15f
commit fcd670b657
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@@ -1,6 +1,7 @@
ncmpcpp-0.6.2 (????-??-??)
* Delete key now aditionally binds by default to action that deletes files in browser.
* Fix incremental seeking so that it doesn't reset after 30 seconds.
ncmpcpp-0.6.1 (2014-11-06)

View File

@@ -2732,7 +2732,7 @@ void seek()
Status::trace();
unsigned howmuch = Config.incremental_seeking
? (Timer-t).seconds()/2+Config.seek_time
? (Timer-t).total_seconds()/2+Config.seek_time
: Config.seek_time;
Key input = Key::read(*wFooter);