aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2005-06-03 17:18:52 +0000
committerKalle Wallin <kaw@linux.se>2005-06-03 17:18:52 +0000
commitbaa0bfaa9a186b657f0d3cde8f92d65e5b89be98 (patch)
tree617b979f5f76cff1e07a7a7e1363868a63c7ef9f /src/screen.c
parente116ea99668266f41966bd62d0e4759e3bd3a4e7 (diff)
downloadmpd-baa0bfaa9a186b657f0d3cde8f92d65e5b89be98.tar.gz
mpd-baa0bfaa9a186b657f0d3cde8f92d65e5b89be98.tar.xz
mpd-baa0bfaa9a186b657f0d3cde8f92d65e5b89be98.zip
seek-time can now be defined in the conf file
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3308 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c
index be4865f04..0c56a7420 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -783,7 +783,7 @@ screen_cmd(mpdclient_t *c, command_t cmd)
seek_id = c->song->id;
seek_target_time = c->status->elapsedTime;
}
- seek_target_time++;
+ seek_target_time+=options.seek_time;
if( seek_target_time < c->status->totalTime )
break;
seek_target_time = c->status->totalTime;
@@ -803,7 +803,7 @@ screen_cmd(mpdclient_t *c, command_t cmd)
seek_id = c->song->id;
seek_target_time = c->status->elapsedTime;
}
- seek_target_time--;
+ seek_target_time-=options.seek_time;
if( seek_target_time < 0 )
seek_target_time=0;
}